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

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

index 6292b1f..2d58e2f 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-23  Steffen Kamper  <steffen@typo3.org>
 
        * Follow-up to 15691: Javascript Error in taskcenter
index f612a5a..dc50085 100644 (file)
@@ -6156,7 +6156,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>';