From de87fe824ad13964b6028dd1ee35f4ca0e8c6759 Mon Sep 17 00:00:00 2001 From: secretr Date: Wed, 11 Jan 2012 10:50:06 +0000 Subject: [PATCH] fixed admin log fails to insert auto_increment value --- e107_handlers/admin_log_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/admin_log_class.php b/e107_handlers/admin_log_class.php index 838d56708..9fbc285db 100644 --- a/e107_handlers/admin_log_class.php +++ b/e107_handlers/admin_log_class.php @@ -231,7 +231,7 @@ class e_admin_log //--------------------------------------- if ($target_logs & LOG_TO_ADMIN) { // Admin log - assume all fields valid - $qry = " 0, ".intval($time_sec).','.intval($time_usec).", '{$importance}', '{$eventcode}', {$userid}, '{$userIP}', '{$event_title}', '{$explain}' "; + $qry = " null, ".intval($time_sec).','.intval($time_usec).", '{$importance}', '{$eventcode}', {$userid}, '{$userIP}', '{$event_title}', '{$explain}' "; $this->rldb->db_Insert("admin_log", $qry); }