Skip to content

Commit 9d87dd7

Browse files
committed
fix(question): fields hidden under condition not rendered in tickets
fix #880
1 parent faf304b commit 9d87dd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/form_answer.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ public function getAnswers($formAnswerId) {
991991
$answers = $answer->find("`plugin_formcreator_forms_answers_id` = '$formAnswerId'");
992992
$answers_values = [];
993993
foreach ($answers as $found_answer) {
994-
$answers_values[$found_answer['plugin_formcreator_questions_id']] = stripslashes($found_answer['answer']);
994+
$answers_values['formcreator_field_' . $found_answer['plugin_formcreator_questions_id']] = stripslashes($found_answer['answer']);
995995
}
996996
return $answers_values;
997997
}

0 commit comments

Comments
 (0)