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

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

index 74a3d24..5252df1 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-03-29  Dmitry Dulepov  <dmitry.dulepov@gmail.com>
 
        * Fixed bug #11696: External files with Umlauts/special chars in filename are not indexed
index 62c834d..3004152 100644 (file)
@@ -5326,6 +5326,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']) &&