diff --git a/code/model/UserDefinedForm.php b/code/model/UserDefinedForm.php index 5e65778..e82cf81 100755 --- a/code/model/UserDefinedForm.php +++ b/code/model/UserDefinedForm.php @@ -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); } /** @@ -907,4 +907,4 @@ class UserDefinedForm_SubmittedFormEmail extends Email { public function __construct() { parent::__construct(); } -} \ No newline at end of file +}