BUGFIX Fixed undefined variable $backURL that should've been $_REQUEST['BackURL']

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2@73292 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2009-03-18 03:07:33 +00:00 committed by Sam Minnee
parent 4dbe5c60ee
commit c0b02a2828

View File

@ -107,7 +107,7 @@ class MemberLoginForm extends LoginForm {
&& Director::is_site_url($_REQUEST['BackURL']) && Director::is_site_url($_REQUEST['BackURL'])
) { ) {
Session::clear("BackURL"); Session::clear("BackURL");
Director::redirect($backURL); Director::redirect($_REQUEST['BackURL']);
} else { } else {
Session::set("Security.Message.message", Session::set("Security.Message.message",
sprintf(_t('Member.WELCOMEBACK', "Welcome Back, %s"), $firstname) sprintf(_t('Member.WELCOMEBACK', "Welcome Back, %s"), $firstname)