Fixed bug #17507: Extension using stdWrap hooks are broken due to stdWrap refactoring...
authorJigal van Hemert <jigal@xs4all.nl>
Tue, 8 Feb 2011 09:57:59 +0000 (09:57 +0000)
committerJigal van Hemert <jigal@xs4all.nl>
Tue, 8 Feb 2011 09:57:59 +0000 (09:57 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-5@10415 709f56b5-9817-0410-a4d7-c38de5d9e867

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

index 363b810..bfbe90a 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-02-08  Jigal van Hemert  <jigal@xs4all.nl>
+
+       * Fixed bug #17507: Extension using stdWrap hooks are broken due to stdWrap refactoring (Thank also to Jo Hasenau)
+
 2011-02-07  Stanislas Rolland  <typo3@sjbr.ca>
 
        * htmlArea RTE: Updated Manual
index 6651d17..5a6de62 100644 (file)
@@ -2035,7 +2035,7 @@ class tslib_cObj {
                                        }
 
                                        // hand over the whole $conf array to the stdWrapHookObjects
-                                       if ($conf[$functionName] == 'stdWrapHookObject') {
+                                       if ($functionType === 'hook') {
                                                $singleConf = $conf;
                                        }
                                        // check if key is still containing something, since it might have been changed by next level stdWrap before