fix wired PHP Fatal error: Call to a member function commit_session on null, thought isset should stop that ...

This commit is contained in:
Ralf Becker 2015-08-02 09:05:23 +00:00
parent 23c4d052c7
commit 5e127cc77d

View File

@ -591,7 +591,7 @@ class egw extends egw_minimal
} }
// now we can close the session // now we can close the session
// without closing the session fastcgi_finish_request() will NOT send output to user // 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 // flush all output to user
/* does NOT work on Apache :-( /* does NOT work on Apache :-(