diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-12-06 03:02:26 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-12-06 03:02:26 +1100 |
| commit | 38c53c90028270dbe922895f3ac27e53383f7765 (patch) | |
| tree | 990be7258a670330f6d75fd965fd356ef30fafed | |
| parent | d454fc6423e187c5a00f8d212324da62db77dbd6 (diff) | |
missing `global $config;`
| -rw-r--r-- | inc/mod.php | 2 |
1 files changed, 1 insertions, 1 deletions
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']); |
