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:
Ingo Schommer 2007-09-16 16:00:35 +00:00
parent 0578d3f46a
commit c294d023af

View File

@ -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);