mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
BUGFIX: Director::redirect is deprecated, use Controller.
This commit is contained in:
parent
d08543f705
commit
2b26d544f9
@ -792,7 +792,7 @@ JS
|
||||
|
||||
$referrer = (isset($data['Referrer'])) ? '?referrer=' . urlencode($data['Referrer']) : "";
|
||||
|
||||
return Director::redirect($this->Link() . 'finished' . $referrer);
|
||||
return $this->redirect($this->Link() . 'finished' . $referrer);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user