Project

General

Profile

Actions

Bug #59495

closed

set_no_cache log severity detection uses invalid $GLOBALS array key

Added by Alexander Stehlik over 10 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2014-06-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

The error is quite obvious. If a Backend user is logged in the log level for the set_no_cache() call in the TypoScriptFrontendController should be reduced.

This is the current code:

if ($internal && isset($GLOBALS['BE_USER]'])) {

As you can see, there is a duplicate closing brace used inside the array key.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Feature #43735: Reduce severity for set_no_cache() from coreClosedPhilipp Gampe2012-12-07

Actions
Actions

Also available in: Atom PDF