Issue Bug Closed

#59495set_no_cache log severity detection uses invalid $GLOBALS array key

Alexander Stehlik 06/11/14, 16:37 updated 10/02/18, 11:53

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.

Reviews 1