Fixed bug #15653: Only show upload comments that are newer than installed version...
authorErnesto Baschny <ernst@cron-it.de>
Fri, 24 Sep 2010 08:55:31 +0000 (08:55 +0000)
committerErnesto Baschny <ernst@cron-it.de>
Fri, 24 Sep 2010 08:55:31 +0000 (08:55 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2@8869 709f56b5-9817-0410-a4d7-c38de5d9e867

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

index efcb8e9..3da5340 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-09-24  Ernesto Baschny  <ernst@cron-it.de>
+
+       * Fixed bug #15653: Only show upload comments that are newer than installed version in update function of EM
+
 2010-09-19  Oliver Hader  <oliver@typo3.org>
 
        * Fixed bug #8260: Update Wizard in install tool force temp-configuration files and load configuration twice
index 7417fcd..60b2d88 100644 (file)
@@ -5344,7 +5344,7 @@ $EM_CONF[$_EXTKEY] = '.$this->arrayToCode($EM_CONF, 0).';
                                $comment = '<table cellpadding="0" cellspacing="0" width="100%">';
                                foreach ($versions as $vk) {
                                        $va = & $v[$vk];
-                                       if (t3lib_div::int_from_ver($vk) < t3lib_div::int_from_ver($data[EM_CONF][version]))    {
+                                       if (t3lib_div::int_from_ver($vk) <= t3lib_div::int_from_ver($data[EM_CONF][version]))   {
                                                continue;
                                        }
                                        $comment .= '<tr><td valign="top" style="padding-right:2px;border-bottom:1px dotted gray">'.$vk.'</td>'.'<td valign="top" style="border-bottom:1px dotted gray">'.nl2br($va[uploadcomment]).'</td></tr>';