From c8f10bc32a5e9062a2c822e2d712a1e2e88fb16b Mon Sep 17 00:00:00 2001 From: Craig Knudsen Date: Tue, 3 Sep 2024 09:19:34 -0400 Subject: [PATCH] Bug fixes #484: for PHP8 deprecation warnings --- admin.php | 4 ++-- includes/classes/RptEvent.php | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/admin.php b/admin.php index 0499d026f..15a1c58e6 100644 --- a/admin.php +++ b/admin.php @@ -766,12 +766,12 @@ function save_pref ( $prefs, $src ) {
diff --git a/includes/classes/RptEvent.php b/includes/classes/RptEvent.php index 0f3719260..8ffa45bda 100644 --- a/includes/classes/RptEvent.php +++ b/includes/classes/RptEvent.php @@ -40,11 +40,18 @@ class RepeatingEvent extends Event { * @access private */ var $_repeatEndDateTime; + /** + * The UNIX timestamp for the end date/time of the repetition. + * @var int + * @access private + */ + var $_repeatEndDateTimeTS; /** * The frequency of the repetition. * @var int * @access private */ + var $_repeatFrequency; /** * The days each week the event occurs