fix broken checkbox
authordemeritcowboy <demeritcowboy@hotmail.com>
Tue, 11 Jul 2023 16:30:13 +0000 (12:30 -0400)
committerdemeritcowboy <demeritcowboy@hotmail.com>
Tue, 11 Jul 2023 16:30:13 +0000 (12:30 -0400)
CRM/Case/Form/CaseView.php

index 61a8473f873d14ea8801ce6aeb2c7bce9ce615c7..24c0f4552c7abaf5dd91522723633e9f16b1e3f1 100644 (file)
@@ -552,7 +552,7 @@ class CRM_Case_Form_CaseView extends CRM_Core_Form {
     $form->add('datepicker', 'activity_date_high_' . $form->_caseID, ts('To'), [], FALSE, ['time' => FALSE]);
 
     if (CRM_Core_Permission::check('administer CiviCRM')) {
-      $form->add('checkbox', 'activity_deleted', ts('Deleted Activities'), '', FALSE, ['id' => 'activity_deleted_' . $form->_caseID]);
+      $form->add('checkbox', 'activity_deleted', ts('Deleted Activities'), ['id' => 'activity_deleted_' . $form->_caseID], FALSE);
     }
   }