+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2019 |
+ | Copyright CiviCRM LLC (c) 2004-2020 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2019
+ * @copyright CiviCRM LLC (c) 2004-2020
*/
/**
* Page for invoking report instances
*/
class CRM_Report_Page_Instance extends CRM_Core_Page {
+
/**
* Run this page (figure out the action needed and perform it).
*/
}
if (strstr($templateInfo['name'], '_Form') || !is_null($reportClass)) {
- $instanceInfo = array();
- CRM_Report_BAO_ReportInstance::retrieve(array('id' => $instanceId), $instanceInfo);
+ $instanceInfo = [];
+ CRM_Report_BAO_ReportInstance::retrieve(['id' => $instanceId], $instanceInfo);
if (!empty($instanceInfo['title'])) {
CRM_Utils_System::setTitle($instanceInfo['title']);