diff --git a/inc/display.php b/inc/display.php index 8aae0359..9da3c58d 100644 --- a/inc/display.php +++ b/inc/display.php @@ -105,7 +105,7 @@ function error($message, $priority = true, $debug_stuff = false) { } $pw = $config['db']['password']; - $debug_callback = function(&$item) use (&$debug_callback, $pw) { + $debug_callback = function($item) use (&$debug_callback, $pw) { if (is_array($item)) { $item = array_filter($item, $debug_callback); }