mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 01:13:25 +01:00
wrap log object in is_object
This commit is contained in:
parent
c332b62e15
commit
7e9bbeb3e9
@ -45,6 +45,8 @@
|
||||
$GLOBALS['phpgw']->session->destroy($GLOBALS['sessionid'],$GLOBALS['kp3']);
|
||||
}
|
||||
else
|
||||
{
|
||||
if(is_object($GLOBALS['phpgw']->log)
|
||||
{
|
||||
$GLOBALS['phpgw']->log->write(array(
|
||||
'text' => 'W-VerifySession, could not verify session during logout',
|
||||
@ -52,6 +54,7 @@
|
||||
'file' => __FILE__
|
||||
));
|
||||
}
|
||||
}
|
||||
Setcookie('sessionid');
|
||||
Setcookie('kp3');
|
||||
Setcookie('domain');
|
||||
|
Loading…
Reference in New Issue
Block a user