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 #1

Updated by Gerrit Code Review over 10 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30663

Actions #2

Updated by Alexander Stehlik over 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF