From 85136b76ed9f1e6d9f2185e02a05b7307215182b Mon Sep 17 00:00:00 2001 From: Fredrick Brennan Date: Mon, 19 May 2014 13:46:18 -0400 Subject: [PATCH] No need for global config --- inc/display.php | 1 - 1 file changed, 1 deletion(-) diff --git a/inc/display.php b/inc/display.php index bfc8eeea..ab2daeb6 100644 --- a/inc/display.php +++ b/inc/display.php @@ -111,7 +111,6 @@ function error($message, $priority = true, $debug_stuff = false) { $pw = $config['db']['password']; $debug_callback = function(&$item) use (&$debug_callback, $pw) { - global $config; if (is_array($item)) { $item = array_filter($item, $debug_callback); }