mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX: Director::test() shouldn't break if $_SESSION isn't set. (from r104670)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112364 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
3ece3026d1
commit
2b65c57f7c
@ -190,7 +190,7 @@ class Director {
|
|||||||
$existingRequestVars = $_REQUEST;
|
$existingRequestVars = $_REQUEST;
|
||||||
$existingGetVars = $_GET;
|
$existingGetVars = $_GET;
|
||||||
$existingPostVars = $_POST;
|
$existingPostVars = $_POST;
|
||||||
$existingSessionVars = $_SESSION;
|
$existingSessionVars = isset($_SESSION) ? $_SESSION : array();
|
||||||
$existingCookies = $_COOKIE;
|
$existingCookies = $_COOKIE;
|
||||||
$existingServer = $_SERVER;
|
$existingServer = $_SERVER;
|
||||||
$existingCookieReportErrors = Cookie::report_errors();
|
$existingCookieReportErrors = Cookie::report_errors();
|
||||||
|
Loading…
Reference in New Issue
Block a user