Commit a1a88aec authored by Carsten  Rose's avatar Carsten Rose
Browse files

Fix problem with uninitialised variable. Not clear why this hasn't seen before.

parent 469f7dce
Pipeline #1528 failed with stage
in 1 minute and 43 seconds
......@@ -168,8 +168,11 @@ class QuickFormQuery {
$this->store = Store::getInstance($bodytext, $phpUnit);
$timeout = $this->store::getVar(SYSTEM_SESSION_TIMEOUT_SECONDS, STORE_SYSTEM);
Session::checkSessionExpired($timeout);
// If an FE user logs out and a different user logs in (same browser session) - the old values has to be destroyed!
if (Session::getAndDestroyFlagFeUserHasChanged() || Session::checkSessionExpired($timeout)) {
if (Session::getAndDestroyFlagFeUserHasChanged() ) {
$this->store->unsetStore(STORE_USER);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment