From 1c9e01b04ab923ac94fc354e744898f0a52698c4 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Tue, 6 Dec 2011 03:02:26 +1100 Subject: [PATCH] missing `global $config;` --- inc/mod.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/mod.php b/inc/mod.php index 9e55be86..caae570b 100644 --- a/inc/mod.php +++ b/inc/mod.php @@ -103,7 +103,7 @@ } function modLog($action, $_board=null) { - global $mod, $board; + global $mod, $board, $config; $query = prepare("INSERT INTO `modlogs` VALUES (:id, :ip, :board, :time, :text)"); $query->bindValue(':id', $mod['id'], PDO::PARAM_INT); $query->bindValue(':ip', $_SERVER['REMOTE_ADDR']);