Update copyright date for 2020
[civicrm-core.git] / CRM / Utils / Check / Component / PriceFields.php
index 2c6118c49d978e75c4b0127a2d20eb68bb19eff9..3c8288eaf89322f0eeeaad65f10aa9f2ba469ef7 100644 (file)
@@ -4,7 +4,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 5                                                  |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2019                                |
+ | Copyright CiviCRM LLC (c) 2004-2020                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -29,7 +29,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2019
+ * @copyright CiviCRM LLC (c) 2004-2020
  */
 class CRM_Utils_Check_Component_PriceFields extends CRM_Utils_Check_Component {
 
@@ -47,13 +47,14 @@ class CRM_Utils_Check_Component_PriceFields extends CRM_Utils_Check_Component {
     $dao = CRM_Core_DAO::executeQuery($sql);
     $count = 0;
     $html = '';
-    $messages = array();
+    $messages = [];
     while ($dao->fetch()) {
       $count++;
-      $url = CRM_Utils_System::url('civicrm/admin/price/field', array(
+      $url = CRM_Utils_System::url('civicrm/admin/price/field', [
         'reset' => 1,
         'action' => 'browse',
-        'sid' => $dao->ps_id));
+        'sid' => $dao->ps_id,
+      ]);
       $html .= "<tr><td>$dao->ps_title</td><td>$dao->psf_label</td><td><a href='$url'>View Price Set Fields</a></td></tr>";
     }
     if ($count > 0) {