Actions
Bug #59495
closedset_no_cache log severity detection uses invalid $GLOBALS array key
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.
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
Updated by Alexander Stehlik over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 929079375573fd9bc18fe5013f59b08afc324362.
Actions