mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 02:01:40 +09:00
Fix #1262
This commit is contained in:
parent
95f0caafcc
commit
dfbdf46085
2 changed files with 3 additions and 3 deletions
|
|
@ -170,8 +170,8 @@ class DisplayHandler extends Handler
|
|||
}
|
||||
|
||||
// Do not display debugging information if there is no output.
|
||||
$display_types = config('debug.display_type');
|
||||
if (!is_array($display_types))
|
||||
$display_types = config('debug.display_type') ?: [];
|
||||
if ($display_types && !is_array($display_types))
|
||||
{
|
||||
$display_types = array($display_types);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue