Issue Bug Closed

#46361BackendUtility::lockRecords throws warnings with PHP 5.4

Helmut Hummel 03/16/13, 16:28 updated 10/23/17, 22:16

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.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.