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

This commit is contained in:
Jun Pataleta
2024-07-19 16:25:12 +08:00
parent d7cb2a66cd
commit 2e8bf841c6
+1 -1
View File
@@ -363,7 +363,7 @@ function get_whoops(): ?\Whoops\Run {
return null;
}
if (!$CFG->debugdisplay) {
if (empty($CFG->debugdisplay)) {
return null;
}