forked from extern/egroupware
fix for bug [ 998496 ] Session error on logout under https, session-id and loginid are unset, which leads to a pg_atoi: zero length string sql-error. I now dont save anything if there is no sessionid or no loginid
This commit is contained in:
parent
4346d06789
commit
c22cba8574
@ -134,6 +134,10 @@
|
||||
|
||||
function appsession($location = 'default', $appname = '', $data = '##NOTHING##')
|
||||
{
|
||||
if (!$this->account_id || !$this->sessionid)
|
||||
{
|
||||
return False; // this can happen during login or logout
|
||||
}
|
||||
if (! $appname)
|
||||
{
|
||||
$appname = $GLOBALS['phpgw_info']['flags']['currentapp'];
|
||||
|
Loading…
Reference in New Issue
Block a user