From: yashodha Date: Fri, 22 Mar 2013 06:32:49 +0000 (+0530) Subject: notice fix X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=877022f7dac4d3ff797ee27106a43f8579eaa78f;p=civicrm-core.git notice fix --- diff --git a/CRM/Report/Utils/Report.php b/CRM/Report/Utils/Report.php index 7c5375bebd..1aab2e75ea 100644 --- a/CRM/Report/Utils/Report.php +++ b/CRM/Report/Utils/Report.php @@ -63,7 +63,7 @@ class CRM_Report_Utils_Report { if ($optionVal) { $templateInfo = CRM_Core_OptionGroup::getRowValues('report_template', "{$optionVal}", 'value'); - return array($templateInfo['id'], $optionVal); + return array(CRM_Utils_Array::value('id', $templateInfo), $optionVal); } return FALSE;