From 029d0a28bdeba38b5bcbcaa346f8dca97c76b730 Mon Sep 17 00:00:00 2001 From: skodak Date: Mon, 14 Aug 2006 20:55:58 +0000 Subject: [PATCH] $CFG->debug=0 from config.php is not overriden by setup.php anymore SC#293 --- lib/setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/setup.php b/lib/setup.php index 3a4c5532f77..77a317cabf6 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -214,7 +214,7 @@ global $HTTPSPAGEREQUIRED; /// Set error reporting back to normal - if (empty($CFG->debug)) { + if (!isset($CFG->debug)) { // empty() would override 0 or false from config.php $CFG->debug = 7; } error_reporting($CFG->debug);