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

ChangeLog
typo3/template.php

index 8906c6d..2bc05b4 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  Oliver Hader  <oliver@typo3.org>
 
        * Added feature #10725: Integrate possibility to determine maximum of multiple values in GIFBUILDER
index c2e7ddf..1d3f5f8 100644 (file)
@@ -1400,7 +1400,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);