X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FReport%2FPage%2FInstance.php;h=6dcd5a72142b445c803c2efaa3677785d6a2e055;hb=f299f7db79fed6f3598c84302966bda087e7cac3;hp=18108a4bb2dc7774e27228ae0562b2c04ca0d0b1;hpb=b8ebe34c530297a2c8b6a7380ac204c6153ff74c;p=civicrm-core.git diff --git a/CRM/Report/Page/Instance.php b/CRM/Report/Page/Instance.php index 18108a4bb2..6dcd5a7214 100644 --- a/CRM/Report/Page/Instance.php +++ b/CRM/Report/Page/Instance.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2018 | + | Copyright CiviCRM LLC (c) 2004-2020 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -28,13 +28,14 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2018 + * @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). */ @@ -73,8 +74,8 @@ class CRM_Report_Page_Instance extends CRM_Core_Page { } 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']);