Project

General

Profile

Actions

Bug #46361

closed

BackendUtility::lockRecords throws warnings with PHP 5.4

Added by Helmut Hummel over 11 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
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.


Related issues 2 (0 open2 closed)

Has duplicate TYPO3 Core - Bug #46245: BE/Log: Illegal string offset 'uid' Closed2013-03-13

Actions
Has duplicate TYPO3 Core - Bug #44442: Error at backend loginClosed2013-01-10

Actions
Actions

Also available in: Atom PDF