From 28df2bf1a8043c9dbde82e791b88125996d58c4a Mon Sep 17 00:00:00 2001 From: Mathieu Lutfy Date: Wed, 29 Jun 2022 14:54:48 -0400 Subject: [PATCH] CRM_Report_Form: set _from and _where as public for the alterReportVar hook --- CRM/Report/Form.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/CRM/Report/Form.php b/CRM/Report/Form.php index a06ce0ca74..35eee9eb3d 100644 --- a/CRM/Report/Form.php +++ b/CRM/Report/Form.php @@ -265,14 +265,16 @@ class CRM_Report_Form extends CRM_Core_Form { protected $_aliases = []; /** + * SQL where clause. May be altered by hook_civicrm_alterReportVar. * @var string */ - protected $_where; + public $_where; /** + * SQL from clause. May be altered by hook_civicrm_alterReportVar. * @var string */ - protected $_from; + public $_from; /** * SQL Limit clause -- 2.25.1