[BUGFIX] Fix blacklist in DebuggerUtility::var_dump 58/49258/2
authorWouter Wolters <typo3@wouterwolters.nl>
Wed, 27 Jul 2016 13:57:50 +0000 (15:57 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Thu, 28 Jul 2016 22:03:16 +0000 (00:03 +0200)
commitc701fce9d84b06c6a05dec83637826b66d25511c
tree99d7a5fb9a71017d3e0d859f62827a2c0b0a0a57
parentd85e7d8ad96733ba05182022bca0e5c069f8ce9b
[BUGFIX] Fix blacklist in DebuggerUtility::var_dump

Wrong usage of strpos leads to not respecting the given blacklist.
Use in_array instead to solve the problem.

Resolves: #72407
Releases: master,7.6
Change-Id: I774bb7c4c9c2bd1c32b2955368b5d9033256100b
Reviewed-on: https://review.typo3.org/49258
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/extbase/Classes/Utility/DebuggerUtility.php
typo3/sysext/extbase/Tests/Unit/Utility/DebuggerUtilityTest.php