From 2cddbaa5a2cede510f9d11d249a22e2a5e532ab2 Mon Sep 17 00:00:00 2001 From: Moc Date: Sun, 3 May 2020 16:24:06 +0200 Subject: [PATCH] #4152 - Quickfix for fatal error after clean-up Introduced after clean-up in commit https://github.com/e107inc/e107/commit/834ea354e4713f125af5abddb34b322f5c9f34a4 --- class2.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/class2.php b/class2.php index cf6d0738c..85579b5ea 100755 --- a/class2.php +++ b/class2.php @@ -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;