diff --git a/phpgwapi/inc/class.errorlog.inc.php b/phpgwapi/inc/class.errorlog.inc.php index 08f3502ec7..3405621b10 100644 --- a/phpgwapi/inc/class.errorlog.inc.php +++ b/phpgwapi/inc/class.errorlog.inc.php @@ -108,7 +108,7 @@ // $db->lock('phpgw_log'); $db->query("insert into phpgw_log (log_date, log_user, log_app, log_severity) values " ."('". $GLOBALS['phpgw']->db->to_timestamp(time()) - ."','".$GLOBALS['phpgw']->session->account_id + ."','".(int)$GLOBALS['phpgw']->session->account_id ."','".$GLOBALS['phpgw_info']['flags']['currentapp']."'" .",'".$this->severity()."'" .")"