[BUGFIX] DebuggerUtility changes global blacklist
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Classes / Utility / DebuggerUtility.php
index 94880cd..84fbc81 100644 (file)
@@ -418,9 +418,11 @@ class DebuggerUtility
         if ($ansiColors === true) {
             $title = '\e[1m' . $title . '\e[0m';
         }
+        $backupBlacklistedClassNames = self::$blacklistedClassNames;
         if (is_array($blacklistedClassNames)) {
             self::$blacklistedClassNames = $blacklistedClassNames;
         }
+        $backupBlacklistedPropertyNames = self::$blacklistedPropertyNames;
         if (is_array($blacklistedPropertyNames)) {
             self::$blacklistedPropertyNames = $blacklistedPropertyNames;
         }
@@ -466,6 +468,8 @@ class DebuggerUtility
                        </div>
                        ';
         }
+        self::$blacklistedClassNames = $backupBlacklistedClassNames;
+        self::$blacklistedPropertyNames = $backupBlacklistedPropertyNames;
         if ($return === true) {
             return $css . $output;
         } else {