Skip to content

Commit

Permalink
fix(formanswer): save update on refused form
Browse files Browse the repository at this point in the history
Signed-off-by: Thierry Bugier <tbugier@teclib.com>
  • Loading branch information
btry committed Jun 2, 2020
1 parent e1c40c7 commit 74b817d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/formanswer.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -844,7 +844,7 @@ public function saveAnswers(PluginFormcreatorForm $form, $data, $fields) {
*/
public function updateAnswers($input) {
$form = new PluginFormcreatorForm();
$form->getFromDB((int) $input['formcreator_form']);
$form->getFromDB((int) $input['plugin_formcreator_forms_id']);
$input['status'] = self::STATUS_WAITING;

$fields = $form->getFields();
Expand Down

0 comments on commit 74b817d

Please sign in to comment.