From 7259688c6df109fadb85fd228b442d1c25103e50 Mon Sep 17 00:00:00 2001 From: Cameron Date: Sun, 10 Feb 2019 19:00:06 -0800 Subject: [PATCH] Notice removal --- class2.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/class2.php b/class2.php index 32457afee..0fc24fd01 100755 --- a/class2.php +++ b/class2.php @@ -2419,7 +2419,7 @@ class error_handler case E_DEPRECATED: // case E_STRICT: - if ($startup_error || E107_DBG_ALLERRORS || E107_DBG_ERRBACKTRACE) + if ($startup_error || deftrue('E107_DBG_ALLERRORS') || deftrue('E107_DBG_ERRBACKTRACE')) { @@ -2441,7 +2441,7 @@ class error_handler } break; case E_WARNING: - if ($startup_error || E107_DBG_BASIC || E107_DBG_ERRBACKTRACE) + if ($startup_error || deftrue('E107_DBG_BASIC') || deftrue('E107_DBG_ERRBACKTRACE')) { // $error['short'] = "Warning: {$message}, Line {$line} of {$file}
\n"; $error['short'] = "".$this->label[$type]." {$message}, Line {$line} of {$file}
\n";