From ce08ad632e45763768826f8de103e456de98b45d Mon Sep 17 00:00:00 2001 From: jengo Date: Sun, 5 Aug 2001 09:18:40 +0000 Subject: [PATCH] Fixed adding an entry that doesn't have an account_id --- phpgwapi/inc/class.log.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpgwapi/inc/class.log.inc.php b/phpgwapi/inc/class.log.inc.php index 9f8c51ef6d..95b79530be 100644 --- a/phpgwapi/inc/class.log.inc.php +++ b/phpgwapi/inc/class.log.inc.php @@ -85,8 +85,8 @@ $db->query ("insert into phpgw_log (log_date, log_user, log_app, log_severity) values " ."('". $phpgw->db->to_timestamp(time() ) - ."',".$phpgw->session->account_id - .",'".$phpgw_info['flags']['currentapp']."'" + ."','".$phpgw->session->account_id + ."','".$phpgw_info['flags']['currentapp']."'" .",'".$this->severity()."'" .")" ,__LINE__,__FILE__);