mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-82540 core: Use an empty check for $CFG->debugdisplay
This commit is contained in:
parent
554a790bf0
commit
9a8cc133d5
@ -71,7 +71,7 @@ function get_whoops(): ?\Whoops\Run {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (!$CFG->debugdisplay) {
|
||||
if (empty($CFG->debugdisplay)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user