diff --git a/typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php b/typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php index 06db119aa5c331b118b9de1716ca85f5883ef37b..2b4be2070dbb61f10612f03fe860760b004b1af2 100644 --- a/typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php +++ b/typo3/sysext/core/Classes/TypoScript/Parser/TypoScriptParser.php @@ -454,8 +454,7 @@ class TypoScriptParser } else { $res = $this->getVal($theVal, $this->setup); } - $this->setVal($objStrName, $setup, unserialize(serialize($res)), 1); - // unserialize(serialize(...)) may look stupid but is needed because of some reference issues. See Kaspers reply to "[TYPO3-core] good question" from December 15 2005. + $this->setVal($objStrName, $setup, $res, 1); break; case '>': if ($this->syntaxHighLight) {