mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 15:05:42 +00:00
MINOR: cleaned up finished() return
This commit is contained in:
parent
8e80ffbc70
commit
72baa7e893
@ -536,15 +536,13 @@ JS
|
||||
function finished() {
|
||||
$referrer = isset($_GET['referrer']) ? urldecode($_GET['referrer']) : null;
|
||||
|
||||
$templateData = $this->customise(array(
|
||||
return $this->customise(array(
|
||||
'Content' => $this->customise(
|
||||
array(
|
||||
'Link' => $referrer
|
||||
))->renderWith('ReceivedFormSubmission'),
|
||||
'Form' => ' ',
|
||||
));
|
||||
|
||||
return $templateData;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user