From: demeritcowboy Date: Tue, 28 Jan 2020 19:14:31 +0000 (-0500) Subject: fatal error when using pager X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=7bc28fa2937f9d810be19d19e0fe1a68c1c78015;p=civicrm-core.git fatal error when using pager --- diff --git a/CRM/Report/Form/Activity.php b/CRM/Report/Form/Activity.php index a8d019f0c7..fa43ee5f26 100644 --- a/CRM/Report/Form/Activity.php +++ b/CRM/Report/Form/Activity.php @@ -351,7 +351,8 @@ class CRM_Report_Form_Activity extends CRM_Report_Form { public function preProcess() { // Is "Include Case Activities" selected? If yes, include the case_id as a hidden column - $includeCaseActivities = CRM_Utils_Request::retrieveValue('include_case_activities_value', 'Boolean'); + $formToUse = $this->noController ? NULL : $this; + $includeCaseActivities = CRM_Utils_Request::retrieve('include_case_activities_value', 'Boolean', $formToUse); if (!empty($includeCaseActivities)) { $this->_columns['civicrm_case_activity'] = [ 'dao' => 'CRM_Case_DAO_CaseActivity',