Skip to content

Commit 4d60239

Browse files
AdrienClairembaultbtry
authored andcommitted
fix(formanswer): redirect after submission of targetless form
1 parent cce2e7e commit 4d60239

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ajax/formanswer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
'redirect' => $formAnswer->getFormURLWithID($formAnswer->getID()),
102102
], JSON_FORCE_OBJECT
103103
);
104+
die();
104105
}
105106
echo json_encode(
106107
[

0 commit comments

Comments
 (0)