[BUGFIX] Avoid PHP warning in TypoScriptFrontendController 72/31472/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>
Fri, 18 Jul 2014 22:54:33 +0000 (00:54 +0200)
commit26a505727398921c3989e62f6c64b660018b38eb
treeed50697a7aeb4f91b8ad107196c559c2708ccc78
parent43fa347cf78ea6b6cdf06292ecc5744ac614b7c5
[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/31472
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Marcin SÄ…gol <marcin@soee.pl>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php