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:
Jun Pataleta
2025-02-06 12:20:17 +08:00
+1 -1
View File
@@ -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;
}