[BUGFIX] Avoid PHP warning in TypoScriptFrontendController 85/31685/2
authorMarkus Klein <klein.t3@mfc-linz.at>
Mon, 7 Jul 2014 21:05:36 +0000 (23:05 +0200)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Sat, 19 Jul 2014 16:25:03 +0000 (18:25 +0200)
commit43b778eee825d0f84bf80466a9f2a625e6237c2a
treebe835c6e39992b585b7a696819e5df030a2ce46c
parent5d31afd8d2bd9ba191f332d017e50ba8774c1910
[BUGFIX] Avoid PHP warning in TypoScriptFrontendController

TypoScriptFrontendController throws a PHP warning on access to
$BE_USER->user['uid'] which might not be set.
Fix this by simply adding an empty() check.

Resolves: #60126
Releases: 6.3, 6.2
Change-Id: I7005baf73bce55d862b4b6b61697c2aa0a877c7b
Reviewed-on: https://review.typo3.org/31685
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php