From: Nileema Date: Fri, 26 Sep 2014 12:53:47 +0000 (+0530) Subject: --Notice fixes for case statuses having filter = 1 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=01bf13dcaa4bed16d9fb19e168520aa294a579a3;p=civicrm-core.git --Notice fixes for case statuses having filter = 1 --- diff --git a/CRM/Report/Form/Case/Detail.php b/CRM/Report/Form/Case/Detail.php index 2086460920..4672d665d3 100644 --- a/CRM/Report/Form/Case/Detail.php +++ b/CRM/Report/Form/Case/Detail.php @@ -61,7 +61,7 @@ class CRM_Report_Form_Case_Detail extends CRM_Report_Form { * */ function __construct() { - $this->case_statuses = CRM_Case_PseudoConstant::caseStatus(); + $this->case_statuses = CRM_Core_OptionGroup::values('case_status'); $this->case_types = CRM_Case_PseudoConstant::caseType(); $rels = CRM_Core_PseudoConstant::relationshipType(); foreach ($rels as $relid => $v) { diff --git a/CRM/Report/Form/Case/Summary.php b/CRM/Report/Form/Case/Summary.php index e9188f1927..f722db28a4 100644 --- a/CRM/Report/Form/Case/Summary.php +++ b/CRM/Report/Form/Case/Summary.php @@ -37,6 +37,7 @@ class CRM_Report_Form_Case_Summary extends CRM_Report_Form { protected $_summary = NULL; protected $_relField = FALSE; + protected $_exposeContactID = FALSE; /** * @@ -46,7 +47,7 @@ class CRM_Report_Form_Case_Summary extends CRM_Report_Form { */ function __construct() { $this->case_types = CRM_Case_PseudoConstant::caseType(); - $this->case_statuses = CRM_Case_PseudoConstant::caseStatus(); + $this->case_statuses = CRM_Core_OptionGroup::values('case_status'); $rels = CRM_Core_PseudoConstant::relationshipType(); foreach ($rels as $relid => $v) { $this->rel_types[$relid] = $v['label_b_a'];