Merge pull request #14878 from civicrm/5.16
[civicrm-core.git] / CRM / Campaign / Form / Task / Print.php
index 6ac3b52f019837ff1b6c3da473a857b860f7da3d..bfc08a11000fba08758cbf0da85e2788c17d1c2b 100644 (file)
@@ -81,19 +81,18 @@ class CRM_Campaign_Form_Task_Print extends CRM_Campaign_Form_Task {
     //
     // just need to add a javacript to popup the window for printing
     //
-    $this->addButtons(array(
-        array(
-          'type' => 'next',
-          'name' => ts('Print Respondents'),
-          'js' => array('onclick' => 'window.print()'),
-          'isDefault' => TRUE,
-        ),
-        array(
-          'type' => 'back',
-          'name' => ts('Done'),
-        ),
-      )
-    );
+    $this->addButtons([
+      [
+        'type' => 'next',
+        'name' => ts('Print Respondents'),
+        'js' => ['onclick' => 'window.print()'],
+        'isDefault' => TRUE,
+      ],
+      [
+        'type' => 'back',
+        'name' => ts('Done'),
+      ],
+    ]);
   }
 
   /**