Skip to content

Commit 74b817d

Browse files
committed
fix(formanswer): save update on refused form
Signed-off-by: Thierry Bugier <[email protected]>
1 parent e1c40c7 commit 74b817d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/formanswer.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ public function saveAnswers(PluginFormcreatorForm $form, $data, $fields) {
844844
*/
845845
public function updateAnswers($input) {
846846
$form = new PluginFormcreatorForm();
847-
$form->getFromDB((int) $input['formcreator_form']);
847+
$form->getFromDB((int) $input['plugin_formcreator_forms_id']);
848848
$input['status'] = self::STATUS_WAITING;
849849

850850
$fields = $form->getFields();

0 commit comments

Comments
 (0)