Project

General

Profile

Bug #22441 » 14090.diff

Administrator Admin, 2010-04-16 12:17

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>';
}
(2-2/3)