1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-25 16:00:22 +01:00

missing global $config;

This commit is contained in:
Savetheinternet 2011-12-06 03:02:26 +11:00
parent be6db03d10
commit 1c9e01b04a

View File

@ -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']);