From 8ec2d293af07a1f2b65173a86a9afcd2488d32c1 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Fri, 14 Jul 2023 12:03:06 +1000 Subject: [PATCH] [REF] Move declaration of _actionButtonName from CRM_Core_Form_Search to CRM_Core_Form to fix undefined property errors in Job Report tests --- CRM/Core/Form.php | 7 +++++++ CRM/Core/Form/Search.php | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CRM/Core/Form.php b/CRM/Core/Form.php index 48613449ca..f575309d26 100644 --- a/CRM/Core/Form.php +++ b/CRM/Core/Form.php @@ -326,6 +326,13 @@ class CRM_Core_Form extends HTML_QuickForm_Page { 'footer_status_severity', ]; + /** + * Name of action button + * + * @var string + */ + protected $_actionButtonName; + /** * Constructor for the basic form page. * diff --git a/CRM/Core/Form/Search.php b/CRM/Core/Form/Search.php index 693af70456..22e89167de 100644 --- a/CRM/Core/Form/Search.php +++ b/CRM/Core/Form/Search.php @@ -21,13 +21,6 @@ class CRM_Core_Form_Search extends CRM_Core_Form { */ protected $_force; - /** - * Name of action button - * - * @var string - */ - protected $_actionButtonName; - /** * Form values that we will be using * -- 2.25.1