1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 06:38:00 +02:00

#4152 - Quickfix for fatal error after clean-up

Introduced after clean-up in commit 834ea354e4
This commit is contained in:
Moc
2020-05-03 16:24:06 +02:00
parent 834ea354e4
commit 2cddbaa5a2

View File

@@ -366,11 +366,12 @@ $tp = e107::getParser(); //TODO - find & replace $tp, $e107->tp
//
require_once(e_HANDLER.'debug_handler.php');
e107_debug::init(); // defines E107_DEBUG_LEVEL
$dbg = e107::getDebug();
if(E107_DEBUG_LEVEL)
{
// $e107_debug = true; // BC
$dbg = e107::getDebug();
//$dbg = e107::getDebug();
/** @deprecated $db_debug */
$db_debug = $dbg;