diff --git a/libraries/src/Form/Field/RulesField.php b/libraries/src/Form/Field/RulesField.php index 8549ef3adc763..c8552bd395cf3 100644 --- a/libraries/src/Form/Field/RulesField.php +++ b/libraries/src/Form/Field/RulesField.php @@ -173,6 +173,11 @@ protected function getInput() "/access/section[@name='" . $section . "']/" ); + if ($this->actions === false) + { + $this->actions = []; + } + // Iterate over the children and add to the actions. foreach ($this->element->children() as $el) {