Skip to content

Commit

Permalink
fix(form): duplicate question conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Aug 21, 2019
1 parent 34708ab commit 552fe39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inc/form.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -1391,7 +1391,7 @@ public function duplicate() {
$qc_rows = $DB->request([
'FROM' => $question_condition::getTable(),
'WHERE' => [
'plugin_formcreator_questions_id' => $tab_questions
'plugin_formcreator_questions_id' => array_keys($tab_questions)
]
]);
foreach ($qc_rows as $row) {
Expand Down

0 comments on commit 552fe39

Please sign in to comment.