From 0839778cd876dbd0820fc5cad4564fdf71e7b90d Mon Sep 17 00:00:00 2001 From: Sandor Semsey Date: Mon, 3 Jul 2023 16:33:02 +0200 Subject: [PATCH] make properties protected to get accessed by CRM_Core_Form::getVar() --- CRM/Mailing/Form/Optout.php | 8 ++++---- CRM/Mailing/Form/Unsubscribe.php | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CRM/Mailing/Form/Optout.php b/CRM/Mailing/Form/Optout.php index 0ffd5f297570..784fab4be462 100644 --- a/CRM/Mailing/Form/Optout.php +++ b/CRM/Mailing/Form/Optout.php @@ -27,22 +27,22 @@ class CRM_Mailing_Form_Optout extends CRM_Core_Form { /** * @var int */ - private $_job_id; + protected $_job_id; /** * @var int */ - private $_queue_id; + protected $_queue_id; /** * @var string */ - private $_hash; + protected $_hash; /** * @var string */ - private $_email; + protected $_email; public function preProcess() { $this->_job_id = $job_id = CRM_Utils_Request::retrieve('jid', 'Integer', $this); diff --git a/CRM/Mailing/Form/Unsubscribe.php b/CRM/Mailing/Form/Unsubscribe.php index 7b3df693e7f1..36fb63a1525e 100644 --- a/CRM/Mailing/Form/Unsubscribe.php +++ b/CRM/Mailing/Form/Unsubscribe.php @@ -27,22 +27,22 @@ class CRM_Mailing_Form_Unsubscribe extends CRM_Core_Form { /** * @var int */ - private $_job_id; + protected $_job_id; /** * @var int */ - private $_queue_id; + protected $_queue_id; /** * @var string */ - private $_hash; + protected $_hash; /** * @var string */ - private $_email; + protected $_email; public function preProcess() { $this->_job_id = $job_id = CRM_Utils_Request::retrieve('jid', 'Integer', $this);