Skip to content

Commit fad48aa

Browse files
committed
fix(question_condition): unable to use some comparisons
Signed-off-by: Thierry Bugier <[email protected]>
1 parent 2cdea2f commit fad48aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inc/question.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ public function updateConditions($input) {
585585
$order++;
586586
$value = array_shift($input['show_value']);
587587
$showField = (int) array_shift($input['show_field']);
588-
$showCondition = array_shift($input['show_condition']);
588+
$showCondition = html_entity_decode(array_shift($input['show_condition']));
589589
$showLogic = array_shift($input['show_logic']);
590590
$question_condition = new PluginFormcreatorQuestion_Condition();
591591
$question_condition->add([

0 commit comments

Comments
 (0)