We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec8fcc6 commit bdfabf8Copy full SHA for bdfabf8
inc/conditionnabletrait.class.php
@@ -138,7 +138,7 @@ public function updateConditions($input) : bool {
138
// Arrays all have the same count and have at least one item
139
$questionFk = PluginFormcreatorQuestion::getForeignKeyField();
140
$order = 0;
141
- while (count($input[$questionFk]) > 0) {
+ while (isset($input[$questionFk]) && count($input[$questionFk]) > 0) {
142
$order++;
143
$value = array_shift($input['show_value']);
144
$questionID = (int) array_shift($input[$questionFk]);
0 commit comments