mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
fixing bug [ 992090 ] Could not log out
At that time, there is no account-id set which results in an empty string, what pgSql dont likes in integer fields. Casting it to int now.
This commit is contained in:
parent
4e6fa932cb
commit
de506124a3
@ -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()."'"
|
||||
.")"
|
||||
|
Loading…
Reference in New Issue
Block a user