From 1fe25a7931c6ec4d733b8bcab077ce462dc767fe Mon Sep 17 00:00:00 2001 From: Rebecca Hum <16962021+rebeccahum@users.noreply.github.com> Date: Tue, 3 Oct 2023 15:01:55 -0600 Subject: [PATCH] Add PHP 8.2 fixes for dynamic properties error --- common/php/class-module.php | 6 +- edit_flow.php | 64 ++++++ modules/calendar/calendar.php | 318 +++++++++++++------------- modules/story-budget/story-budget.php | 190 +++++++-------- 4 files changed, 325 insertions(+), 253 deletions(-) diff --git a/common/php/class-module.php b/common/php/class-module.php index 0d7231d66..7e9cb60fa 100644 --- a/common/php/class-module.php +++ b/common/php/class-module.php @@ -15,6 +15,10 @@ class EF_Module { 'private', ); + public $module_url; + + public $module; + function __construct() {} /** @@ -478,7 +482,7 @@ function users_select_form( $selected = null, $args = null ) {