Bug #17861 » 6854.diff

Administrator Admin, 2010-05-14 01:27

View differences:

typo3/mod/tools/em/class.em_index.php (working copy)
1873 1873
			// check if extension can be fetched
1874 1874
		if(isset($this->xmlhandler->extensionsXML[$extKey])) {
1875 1875
			$versions = array_keys($this->xmlhandler->extensionsXML[$extKey]['versions']);
1876
			natsort($versions);
1876 1877
			$latestVersion = end($versions);
1877 1878
			switch($mode) {
1878 1879
				case EM_INSTALL_VERSION_STRICT:
......
2004 2005
				// Fetch extension from TER:
2005 2006
			if(!strlen($version)) {
2006 2007
				$versions = array_keys($this->xmlhandler->extensionsXML[$extKey]['versions']);
2008
				natsort($versions);
2007 2009
				$version = end($versions);
2008 2010
			}
2009 2011
			$fetchData = $this->terConnection->fetchExtension($extKey, $version, $this->xmlhandler->extensionsXML[$extKey]['versions'][$version]['t3xfilemd5'], $this->getMirrorURL());
(2-2/2)