From: skodak Date: Mon, 14 Aug 2006 20:57:18 +0000 (+0000) Subject: $CFG->debug=0 from config.php is not overriden by setup.php anymore SC#293; merged... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=284ac702109a080275f10a44e8381e7ce7f474f7;p=moodle.git $CFG->debug=0 from config.php is not overriden by setup.php anymore SC#293; merged from MOODLE_16_STABLE --- diff --git a/lib/setup.php b/lib/setup.php index 3a4c5532f7..77a317cabf 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);