Fixed bug #2178: template::getTabMenu doubles ampersands (thanks to Stefano Kowalke)
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 17 Apr 2009 08:19:56 +0000 (08:19 +0000)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 17 Apr 2009 08:19:56 +0000 (08:19 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2@5326 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/template.php

index 0fb5cb9..ff074e8 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-17  Christian Kuhn  <lolli@schwarzbu.ch>
+
+       * Fixed bug #2178: template::getTabMenu doubles ampersands (thanks to Stefano Kowalke)
+
 2009-04-16  Steffen Kamper  <info@sk-typo3.de>
 
        * Fixed bug #10735: Wrong returnUrl with clipboard actions
index 070133a..527df80 100755 (executable)
@@ -1349,7 +1349,7 @@ $str.=$this->docBodyTagBegin().
                        foreach($menuItems as $value => $label) {
                                $menuDef[$value]['isActive'] = !strcmp($currentValue,$value);
                                $menuDef[$value]['label'] = t3lib_div::deHSCentities(htmlspecialchars($label));
-                               $menuDef[$value]['url'] = htmlspecialchars($script.'?'.$mainParams.$addparams.'&'.$elementName.'='.$value);
+                               $menuDef[$value]['url'] = $script . '?' . $mainParams . $addparams . '&' . $elementName . '=' . $value;
                        }
                        $content = $this->getTabMenuRaw($menuDef);