Using $_SESSION directly, Session::get() is broken
This commit is contained in:
parent
4b15214588
commit
3f60aac770
|
@ -58,7 +58,9 @@ class TestSessionEnvironment extends Object {
|
||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
} else {
|
} else {
|
||||||
Session::start();
|
Session::start();
|
||||||
$this->id = Session::get('TestSessionId');
|
// $_SESSION != Session::get() in some execution paths, suspect Controller->pushCurrent()
|
||||||
|
// as part of the issue, easiest resolution is to use session directly for now
|
||||||
|
$this->id = (isset($_SESSION['TestSessionId'])) ? $_SESSION['TestSessionId'] : null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue