mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
mlanthaler: Bugfix: Variable was not set as needed.
(merged from branches/gsoc) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@42107 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
0578d3f46a
commit
c294d023af
@ -223,7 +223,7 @@ class Director {
|
|||||||
if(isset($_REQUEST['_REDIRECT_BACK_URL'])) {
|
if(isset($_REQUEST['_REDIRECT_BACK_URL'])) {
|
||||||
$url = $_REQUEST['_REDIRECT_BACK_URL'];
|
$url = $_REQUEST['_REDIRECT_BACK_URL'];
|
||||||
} else if(isset($_SERVER['HTTP_REFERER'])) {
|
} else if(isset($_SERVER['HTTP_REFERER'])) {
|
||||||
$_SERVER['HTTP_REFERER'];
|
$url = $_SERVER['HTTP_REFERER'];
|
||||||
}
|
}
|
||||||
|
|
||||||
Director::redirect($url);
|
Director::redirect($url);
|
||||||
|
Loading…
Reference in New Issue
Block a user