Bug #22441 » 14090.diff

Administrator Admin, 2010-04-16 12:17

View differences:

typo3/mod/tools/em/class.em_index.php (working copy)
1606 1606
		list($fetchData,) = $this->prepareImportExtList(true);
1607 1607

  
1608 1608
		$versions = array_keys($fetchData[$extKey]['versions']);
1609
		natsort($versions);
1609 1610
		$version = ($version == '') ? end($versions) : $version;
1610 1611

  
1611 1612
		$opt = array();
1612
		foreach(array_keys($fetchData[$extKey]['versions']) as $ver)	{
1613
		foreach($versions as $ver) {
1613 1614
			$opt[]='<option value="'.$ver.'"'.(($version == $ver) ? ' selected="selected"' : '').'>'.$ver.'</option>';
1614 1615
		}
1615 1616

  
(2-2/3)