mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
fix wired PHP Fatal error: Call to a member function commit_session on null, thought isset should stop that ...
This commit is contained in:
parent
d044e75c9c
commit
7bf6a497b0
@ -591,7 +591,7 @@ class egw extends egw_minimal
|
||||
}
|
||||
// now we can close the session
|
||||
// without closing the session fastcgi_finish_request() will NOT send output to user
|
||||
if (isset($GLOBALS['egw']->session)) $GLOBALS['egw']->session->commit_session();
|
||||
if (isset($GLOBALS['egw']->session) && is_object($GLOBALS['egw']->session)) $GLOBALS['egw']->session->commit_session();
|
||||
|
||||
// flush all output to user
|
||||
/* does NOT work on Apache :-(
|
||||
|
Loading…
Reference in New Issue
Block a user