[BUGFIX] Regression: filelistFolderTree constructor is recursive
authorPhilipp Gampe <forge.typo3.org@philippgampe.info>
Wed, 20 Jul 2011 20:56:55 +0000 (22:56 +0200)
committerXavier Perseguers <typo3@perseguers.ch>
Thu, 21 Jul 2011 08:34:47 +0000 (10:34 +0200)
After fix of compatibility constructor, the real constructor
(__construct) is missing. This leads to a recursive call on
itself and thus crashes.

Change-Id: Ic788b8dfb9ae42a4ad7c1b9a122f31de1df98741
Fixes: #28354
Releases: 4.6
Reviewed-on: http://review.typo3.org/3445
Reviewed-by: Georg Ringer
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
typo3/class.filelistfoldertree.php

index c6d0269..d315d98 100644 (file)
@@ -65,6 +65,13 @@ class filelistFolderTree extends t3lib_folderTree {
        var $ajaxStatus = FALSE; // Indicates, whether the ajax call was successful, i.e. the requested page has been found
 
        /**
+        * Init parent class
+        */
+       public function __construct() {
+               parent::__construct();
+       }
+
+       /**
         * Compatibility constructor.
         *
         * @deprecated since TYPO3 4.6 and will be removed in TYPO3 4.8. Use __construct() instead.