diff --git a/inc/question.class.php b/inc/question.class.php index a743b8844..b60aee3ef 100644 --- a/inc/question.class.php +++ b/inc/question.class.php @@ -663,6 +663,7 @@ public function updateParameters($input) { foreach ($input['_parameters'][$this->fields['fieldtype']] as $fieldName => $parameterInput) { $parameterInput['plugin_formcreator_questions_id'] = $this->getID(); if ($parameters[$fieldName]->isNewItem()) { + unset($parameterInput['id']); $parameters[$fieldName]->add($parameterInput); } else { $parameterInput['id'] = $parameters[$fieldName]->getID();