Fixed bug #9058: Hook objects for stdWrap in class.tslib_content.php get executed...
authorSteffen Kamper <info@sk-typo3.de>
Wed, 25 Nov 2009 16:33:52 +0000 (16:33 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Wed, 25 Nov 2009 16:33:52 +0000 (16:33 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6545 709f56b5-9817-0410-a4d7-c38de5d9e867

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

index d284e13..6a987c9 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -4,6 +4,7 @@
 
 2009-11-25  Steffen Kamper  <info@sk-typo3.de>
 
+       * Fixed bug #9058: Hook objects for stdWrap in class.tslib_content.php get executed multiple times. (thanks to Steffen Müller)
        * Fixed bug #12467: TYPO3 Inline User Manual is broken
        * Fixed bug #12297: t3lib_cs::cropMbstring has problems with negative length (Thanks to Steffen Gebert)
        * Follow-up to bugfix #12728: Upgrade ExtJS skin to match t3skin (Thanks to Andreas Kundoch)
index 6701b70..2c7d9a9 100644 (file)
@@ -384,6 +384,7 @@ class tslib_cObj {
                        }
                }
 
+               $this->stdWrapHookObjects = array();
                if(is_array($TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_content.php']['stdWrap'])) {
                        foreach($TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_content.php']['stdWrap'] as $classData) {
                                $hookObject = t3lib_div::getUserObj($classData);