Project

General

Profile

Bug #22441 » em-patch.diff

Administrator Admin, 2010-04-13 11:43

View differences:

typo3/mod/tools/em/class.em_index.php (working copy)
list($fetchData,) = $this->prepareImportExtList(true);
$versions = array_keys($fetchData[$extKey]['versions']);
natsort($versions);
$version = ($version == '') ? end($versions) : $version;
$opt = array();
foreach(array_keys($fetchData[$extKey]['versions']) as $ver) {
foreach($versions as $ver) {
$opt[]='<option value="'.$ver.'"'.(($version == $ver) ? ' selected="selected"' : '').'>'.$ver.'</option>';
}
(1-1/3)