Fixed bug #5053: imgNameNotRandom on TMENU/GMENU could break rollover behaviour
authorOliver Hader <oliver.hader@typo3.org>
Sat, 7 Jul 2007 12:37:49 +0000 (12:37 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Sat, 7 Jul 2007 12:37:49 +0000 (12:37 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-1@2390 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_menu.php

index 39ba100..e4977cc 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-07-07  Oliver Hader  <oh@inpublica.de>
+
+       * Fixed bug #5053: imgNameNotRandom on TMENU/GMENU could break rollover behaviour
+
 2007-07-06  Michael Stucki  <michael@typo3.org>
 
        * Fix in indexed search: List of indexed pages could be broken if mutli-byte chars are cut in the middle (patch by Karsten Dambekalns)
index d5c7b25..b65e06e 100755 (executable)
@@ -1579,7 +1579,7 @@ class tslib_tmenu extends tslib_menu {
 
                                $this->I = array();
                                $this->I['key'] = $key;
-                               $this->I['INPfix'] = $this->imgNameNotRandom?'':'_'.$this->INPfixMD5.'_'.$key;
+                               $this->I['INPfix'] = ($this->imgNameNotRandom ? '' : '_'.$this->INPfixMD5).'_'.$key;
                                $this->I['val'] = $val;
                                $this->I['title'] = $this->WMcObj->stdWrap($this->getPageTitle($this->menuArr[$key]['title'],$this->menuArr[$key]['nav_title']),$this->I['val']['stdWrap.']);
                                $this->I['uid'] = $this->menuArr[$key]['uid'];
@@ -2200,7 +2200,7 @@ class tslib_gmenu extends tslib_menu {
 
                                        $this->I = array();
                                        $this->I['key'] = $key;
-                                       $this->I['INPfix']= $this->imgNameNotRandom?'':'_'.$this->INPfixMD5.'_'.$key;
+                                       $this->I['INPfix']= ($this->imgNameNotRandom ? '' : '_'.$this->INPfixMD5).'_'.$key;
                                        $this->I['val'] = $this->result['NO'][$key];
                                        $this->I['title'] = $this->getPageTitle($this->menuArr[$key]['title'],$this->menuArr[$key]['nav_title']);
                                        $this->I['uid'] = $this->menuArr[$key]['uid'];