MDL-82540 core: Use an empty check for $CFG->debugdisplay

This commit is contained in:
Jun Pataleta
2024-07-19 16:24:49 +08:00
parent 554a790bf0
commit 9a8cc133d5
+1 -1
View File
@@ -71,7 +71,7 @@ function get_whoops(): ?\Whoops\Run {
return null;
}
if (!$CFG->debugdisplay) {
if (empty($CFG->debugdisplay)) {
return null;
}