Fixed bug #14003: "Check for extension updates" does not always find latest version
authorJeff Segars <jsegars@alumni.rice.edu>
Mon, 5 Apr 2010 22:11:28 +0000 (22:11 +0000)
committerJeff Segars <jsegars@alumni.rice.edu>
Mon, 5 Apr 2010 22:11:28 +0000 (22:11 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@7245 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/mod/tools/em/class.em_index.php

index 69f70a9..165db54 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-04-05  Jeff Segars  <jeff@webempoweredchurch.org>
+
+       * Fixed bug #14003: "Check for extension updates" does not always find latest version
+
 2010-04-05  Xavier Perseguers  <typo3@perseguers.ch>
 
        * Fixed bug #13487: No alternative icon returned from 'getIcon' (thanks to Stephan Kellermayr)
index 82419df..8ebf01b 100644 (file)
@@ -6148,6 +6148,7 @@ $EM_CONF[$_EXTKEY] = '.$this->arrayToCode($EM_CONF, 0).';
 
                        $v = $this->xmlhandler->extensionsXML[$name]['versions'];
                        $versions = array_keys($v);
+                       natsort($versions);
                        $lastversion = end($versions);
 
                        if ((t3lib_extMgm::isLoaded($name) || $this->MOD_SETTINGS['display_installed']) &&