Commit 0bdbc648 authored by amar deokar's avatar amar deokar Committed by Wolfgang Ziegler
Browse files

Issue #2923477 by amar.deokar: PHP 7.x compatibility issue

parent 83d72b2f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ class RulesRuleUI extends RulesActionContainerUI {
    $this->conditions = $this->rule->conditionContainer();
  }

  public function form(&$form, &$form_state, $options = array()) {
  public function form(&$form, &$form_state, $options = array(), $iterator = NULL) {
    $form_state['rules_element'] = $this->rule;
    $label = $this->element->label();
    // Automatically add a counter to unlabelled rules.
@@ -84,7 +84,7 @@ class RulesRuleUI extends RulesActionContainerUI {
 */
class RulesReactionRuleUI extends RulesRuleUI {

  public function form(&$form, &$form_state, $options = array()) {
  public function form(&$form, &$form_state, $options = array(), $iterator = NULL) {
    $form['events'] = array(
      '#type' => 'container',
      '#weight' => -10,
@@ -193,7 +193,7 @@ class RulesRuleSetUI extends RulesActionContainerUI {
 */
class RulesLoopUI extends RulesActionContainerUI {

  public function form(&$form, &$form_state, $options = array()) {
  public function form(&$form, &$form_state, $options = array(), $iterator = NULL) {
    parent::form($form, $form_state, $options);
    $settings = $this->element->settings;