Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
1 merge request!127Rest Implementation with GET,PUT,POST,DELETE and authorization token
Pipeline #1528 failed
......@@ -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);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment