Skip to content

Commit

Permalink
Set rule property active default as true
Browse files Browse the repository at this point in the history
  • Loading branch information
eynimeni committed Dec 19, 2024
1 parent 85499b6 commit f5c3a09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/booking_rules/rules/rule_daysbefore.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class rule_daysbefore implements booking_rule {
public $datefield = null;

/** @var bool $ruleisactive */
public $ruleisactive = false;
public $ruleisactive = true;

/**
* Load json data from DB into the object.
Expand Down
2 changes: 1 addition & 1 deletion classes/booking_rules/rules/rule_react_on_event.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class rule_react_on_event implements booking_rule {
public $intervaldata = null;

/** @var bool $ruleisactive */
public $ruleisactive = false;
public $ruleisactive = true;

/** Const state of booking option */
public const ALWAYS = 0;
Expand Down

0 comments on commit f5c3a09

Please sign in to comment.