From 3a936dabd00664bf2e0d46d4fb2ceda4eea03743 Mon Sep 17 00:00:00 2001 From: "deb.monish" Date: Mon, 19 Sep 2016 19:05:11 +0530 Subject: [PATCH] CRM-19389: Fatal Error in Forms (4.7.12 Regression) --- CRM/Admin/Form/Preferences.php | 2 +- CRM/Campaign/Form/Campaign.php | 2 +- CRM/Campaign/Form/Survey.php | 2 +- CRM/Campaign/Form/SurveyType.php | 2 +- CRM/Event/Form/ManageEvent.php | 2 +- CRM/Event/Form/SelfSvcTransfer.php | 2 +- CRM/Event/Form/SelfSvcUpdate.php | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CRM/Admin/Form/Preferences.php b/CRM/Admin/Form/Preferences.php index c3b1600eb0..8d3e6013b4 100644 --- a/CRM/Admin/Form/Preferences.php +++ b/CRM/Admin/Form/Preferences.php @@ -37,7 +37,7 @@ class CRM_Admin_Form_Preferences extends CRM_Core_Form { protected $_system = FALSE; protected $_contactID = NULL; - protected $_action = NULL; + public $_action = NULL; protected $_checkbox = NULL; diff --git a/CRM/Campaign/Form/Campaign.php b/CRM/Campaign/Form/Campaign.php index 5017bdbb50..d8397275af 100644 --- a/CRM/Campaign/Form/Campaign.php +++ b/CRM/Campaign/Form/Campaign.php @@ -41,7 +41,7 @@ class CRM_Campaign_Form_Campaign extends CRM_Core_Form { * * @var int */ - protected $_action; + public $_action; /** * Context diff --git a/CRM/Campaign/Form/Survey.php b/CRM/Campaign/Form/Survey.php index 133b47853f..c8a3006611 100644 --- a/CRM/Campaign/Form/Survey.php +++ b/CRM/Campaign/Form/Survey.php @@ -48,7 +48,7 @@ class CRM_Campaign_Form_Survey extends CRM_Core_Form { * * @var int */ - protected $_action; + public $_action; /** * SurveyTitle. diff --git a/CRM/Campaign/Form/SurveyType.php b/CRM/Campaign/Form/SurveyType.php index ffaf7de83f..b009b073a5 100644 --- a/CRM/Campaign/Form/SurveyType.php +++ b/CRM/Campaign/Form/SurveyType.php @@ -56,7 +56,7 @@ class CRM_Campaign_Form_SurveyType extends CRM_Admin_Form { * * @var int */ - protected $_action; + public $_action; /** * Set variables up before form is built. diff --git a/CRM/Event/Form/ManageEvent.php b/CRM/Event/Form/ManageEvent.php index 882e0f1d9c..b502289b7b 100644 --- a/CRM/Event/Form/ManageEvent.php +++ b/CRM/Event/Form/ManageEvent.php @@ -56,7 +56,7 @@ class CRM_Event_Form_ManageEvent extends CRM_Core_Form { */ protected $_single; - protected $_action; + public $_action; /** * Are we actually managing an event template? diff --git a/CRM/Event/Form/SelfSvcTransfer.php b/CRM/Event/Form/SelfSvcTransfer.php index 22f1c3f4b8..e5c6cf1bad 100644 --- a/CRM/Event/Form/SelfSvcTransfer.php +++ b/CRM/Event/Form/SelfSvcTransfer.php @@ -103,7 +103,7 @@ class CRM_Event_Form_SelfSvcTransfer extends CRM_Core_Form { * * @var string */ - protected $_action; + public $_action; /** * participant object * diff --git a/CRM/Event/Form/SelfSvcUpdate.php b/CRM/Event/Form/SelfSvcUpdate.php index 7cfb459a7c..f41b458d92 100644 --- a/CRM/Event/Form/SelfSvcUpdate.php +++ b/CRM/Event/Form/SelfSvcUpdate.php @@ -88,7 +88,7 @@ class CRM_Event_Form_SelfSvcUpdate extends CRM_Core_Form { * * @var string */ - protected $_action; + public $_action; /** * participant object * -- 2.25.1