From 5d211e865839bd54fbdf82cb6ecbcbb54bc946d0 Mon Sep 17 00:00:00 2001 From: Magdalena Holczik Date: Thu, 19 Dec 2024 13:50:39 +0100 Subject: [PATCH] Set default for active as true --- classes/booking_rules/rules/rule_daysbefore.php | 2 +- classes/booking_rules/rules/rule_react_on_event.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/booking_rules/rules/rule_daysbefore.php b/classes/booking_rules/rules/rule_daysbefore.php index bd477088a..35a4f4579 100644 --- a/classes/booking_rules/rules/rule_daysbefore.php +++ b/classes/booking_rules/rules/rule_daysbefore.php @@ -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. diff --git a/classes/booking_rules/rules/rule_react_on_event.php b/classes/booking_rules/rules/rule_react_on_event.php index 4156456d8..5879f33b0 100644 --- a/classes/booking_rules/rules/rule_react_on_event.php +++ b/classes/booking_rules/rules/rule_react_on_event.php @@ -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;