From dc0471631128ac96a039704c9d3e758340e6bf96 Mon Sep 17 00:00:00 2001 From: Nileema Date: Fri, 23 May 2014 14:54:24 +0530 Subject: [PATCH] --Fix notices on Case view page for status with filter condition --- CRM/Case/Form/CaseView.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Case/Form/CaseView.php b/CRM/Case/Form/CaseView.php index 5b6532a29e..48eb90b1f0 100644 --- a/CRM/Case/Form/CaseView.php +++ b/CRM/Case/Form/CaseView.php @@ -119,7 +119,7 @@ class CRM_Case_Form_CaseView extends CRM_Core_Form { $this->_caseDetails = array( 'case_type' => $caseType, - 'case_status' => $statuses[$values['case_status_id']], + 'case_status' => CRM_Utils_Array::value($values['case_status_id'], $statuses), 'case_subject' => CRM_Utils_Array::value('subject', $values), 'case_start_date' => $values['case_start_date'], ); @@ -264,7 +264,7 @@ class CRM_Case_Form_CaseView extends CRM_Core_Form { else if ($type == $pdfActivityType ) { $url = CRM_Utils_System::url('civicrm/activity/pdf/add', "action=add&context=standalone&reset=1&cid={$this->_contactID}&caseid={$this->_caseID}&atype=$type", - FALSE, NULL, FALSE ); + FALSE, NULL, FALSE ); } else { $url = CRM_Utils_System::url('civicrm/case/activity', -- 2.25.1