[BUGFIX] Fluid: Strict type checking when adding debug namespace 03/54103/2
authorBenni Mack <benni@typo3.org>
Wed, 30 Aug 2017 06:13:13 +0000 (08:13 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Mon, 11 Sep 2017 07:34:47 +0000 (09:34 +0200)
commitc28b3d3b63e89686065b1f63d2c1bc9560e3b6d8
tree51fdb034cdec88f09ba93dc57b3fcc7680f2fb42
parent46d1d6356717978ef457bec65e737e19d59c14c8
[BUGFIX] Fluid: Strict type checking when adding debug namespace

The check on BE_USER->uc() in frontend context is cleaned up and more
strict, checking whether the object exists currently.

Additionally, the specific request type is used here.

Resolves: #82397
Releases: master, 8.7
Change-Id: Ibe0b533c23e1ba9c35ed2b6b9b0301e1a449c2e3
Reviewed-on: https://review.typo3.org/54103
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Hölzle <typo3@markus-hoelzle.de>
Tested-by: Markus Hölzle <typo3@markus-hoelzle.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/fluid/Classes/Core/ViewHelper/ViewHelperResolver.php