[BUGFIX] Fix blacklist in DebuggerUtility::var_dump 29/49229/4
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 21:55:35 +0000 (23:55 +0200)
commitf6bd3db8b005a501601ff3479b061db9006a6094
tree8735c17d39dfa7886d697667cac7edaa2d0d36b5
parent390385b3812878f61706647d0e32877d91767ecd
[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/49229
Tested-by: Bamboo TYPO3com <info@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
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