Fixed bug #15653: Only show upload comments that are newer than installed version...
[Packages/TYPO3.CMS.git] / typo3 / sysext / em / mod1 / class.em_index.php
index eade00b..3b74773 100644 (file)
@@ -6157,7 +6157,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>';