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