Fixed adding an entry that doesn't have an account_id

This commit is contained in:
jengo 2001-08-05 09:18:40 +00:00
parent f9726cefbe
commit ce08ad632e

View File

@ -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__);