Actions
Bug #46361
closedBackendUtility::lockRecords throws warnings with PHP 5.4
Start date:
2013-03-16
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
$GLOBALS['BE_USER']->user['uid'] is accessed even if a user
is not logged in which leads to a "Illegal String offset" warning.
Additionally a delete query is executed in this case which
does not make sense at all.
Solution:
Properly check if a user is logged in before executing any
functionality in this method.
Actions