Bug #22441 » 14090.diff
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>';
|
||
}
|
||