diff --git a/lib/setup.php b/lib/setup.php index 42344fc652e..89f61859b14 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -45,6 +45,9 @@ /// Set error reporting back to normal + if (empty($CFG->debug)) { + $CFG->debug = 7; + } error_reporting($CFG->debug);