We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f544784 commit ca85762Copy full SHA for ca85762
1 file changed
inc/formanswer.class.php
@@ -1214,10 +1214,6 @@ public function post_addItem() {
1214
'plugin_formcreator_questions_id' => $questionId,
1215
'answer' => Toolbox::addslashes_deep($answer_value),
1216
], [], 0);
1217
- if ($answer->isNewItem()) {
1218
- $formanswerId = $this->getID();
1219
- trigger_error("Formcreator: failed to save answer for question $questionId in formanswer ID $formanswerId. Value was: $answer_value", E_USER_WARNING);
1220
- }
1221
foreach ($field->getDocumentsForTarget() as $documentId) {
1222
$docItem = new Document_Item();
1223
$docItem->add([
0 commit comments