Merge branch 'MDL-81829-fix-pretty-whoops-MOODLE_404_STABLE' of https://github.com/brendanheywood/moodle into MOODLE_404_STABLE
This commit is contained in:
+1
-1
@@ -367,7 +367,7 @@ function get_whoops(): ?\Whoops\Run {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (!$CFG->debug_developer_use_pretty_exceptions) {
|
||||
if (empty($CFG->debug_developer_use_pretty_exceptions)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user