MDL-82540 core: Use an empty check for $CFG->debugdisplay
This commit is contained in:
+1
-1
@@ -363,7 +363,7 @@ function get_whoops(): ?\Whoops\Run {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (!$CFG->debugdisplay) {
|
||||
if (empty($CFG->debugdisplay)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user