From 91e394b9f0a4f55bfe52b4248235b3bacbebd36c Mon Sep 17 00:00:00 2001 From: Jo Franz Date: Tue, 10 Oct 2023 22:10:53 +0200 Subject: [PATCH 1/2] PHP 8 fix undefines_property --- CRM/Event/Form/SelfSvcUpdate.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Event/Form/SelfSvcUpdate.php b/CRM/Event/Form/SelfSvcUpdate.php index 149c88027638..47b89264c7b6 100644 --- a/CRM/Event/Form/SelfSvcUpdate.php +++ b/CRM/Event/Form/SelfSvcUpdate.php @@ -95,6 +95,7 @@ class CRM_Event_Form_SelfSvcUpdate extends CRM_Core_Form { * @var bool */ protected $isBackoffice = FALSE; + private string $_userContext; /** * Set variables up before form is built based on participant ID from URL From 009c55460c6f9b0b090346e1c89c54f7aa88aad2 Mon Sep 17 00:00:00 2001 From: Jo Franz Date: Tue, 10 Oct 2023 23:13:56 +0200 Subject: [PATCH 2/2] php 7 compliance --- CRM/Event/Form/SelfSvcUpdate.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CRM/Event/Form/SelfSvcUpdate.php b/CRM/Event/Form/SelfSvcUpdate.php index 47b89264c7b6..ae9850714737 100644 --- a/CRM/Event/Form/SelfSvcUpdate.php +++ b/CRM/Event/Form/SelfSvcUpdate.php @@ -95,7 +95,10 @@ class CRM_Event_Form_SelfSvcUpdate extends CRM_Core_Form { * @var bool */ protected $isBackoffice = FALSE; - private string $_userContext; + /** + * @var string + */ + protected $_userContext; /** * Set variables up before form is built based on participant ID from URL