Project

General

Profile

Bug #17861 » 6854.diff

Administrator Admin, 2010-05-14 01:27

View differences:

typo3/mod/tools/em/class.em_index.php (working copy)
// check if extension can be fetched
if(isset($this->xmlhandler->extensionsXML[$extKey])) {
$versions = array_keys($this->xmlhandler->extensionsXML[$extKey]['versions']);
natsort($versions);
$latestVersion = end($versions);
switch($mode) {
case EM_INSTALL_VERSION_STRICT:
......
// Fetch extension from TER:
if(!strlen($version)) {
$versions = array_keys($this->xmlhandler->extensionsXML[$extKey]['versions']);
natsort($versions);
$version = end($versions);
}
$fetchData = $this->terConnection->fetchExtension($extKey, $version, $this->xmlhandler->extensionsXML[$extKey]['versions'][$version]['t3xfilemd5'], $this->getMirrorURL());
(2-2/2)