Skip to content

Commit ef003b1

Browse files
committed
fixed: pass correct variables to conditional section constructor
1 parent 15ffa00 commit ef003b1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

classes/ColdTrick/Forms/Definition/Field.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ public function getConditionalSections(bool $apply_section_filter = false): arra
217217

218218
$this->conditional_sections_objects = [];
219219
foreach ($this->conditional_sections as $section) {
220-
$this->conditional_sections_objects[] = new ConditionalSection($section);
220+
$this->conditional_sections_objects[] = new ConditionalSection($section, $this->form);
221221
}
222222

223223
return $this->conditional_sections_objects;

0 commit comments

Comments
 (0)