From 51cc4593b0f1656625e78dadb9f1dd83638c0572 Mon Sep 17 00:00:00 2001 From: Brienne Kordis Date: Tue, 6 Dec 2022 12:53:36 -0500 Subject: [PATCH] format comments --- CRM/Event/Form/ManageEvent/TabHeader.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Event/Form/ManageEvent/TabHeader.php b/CRM/Event/Form/ManageEvent/TabHeader.php index 8aa32a20fe..3d8a6b8e72 100644 --- a/CRM/Event/Form/ManageEvent/TabHeader.php +++ b/CRM/Event/Form/ManageEvent/TabHeader.php @@ -66,11 +66,11 @@ class CRM_Event_Form_ManageEvent_TabHeader { $tabs = []; $tabs['settings'] = ['title' => ts('Info and Settings'), 'class' => 'ajaxForm livePage'] + $default; $tabs['location'] = ['title' => ts('Event Location')] + $default; - // Check to see if CiviContribute is an enabled component + // Check to see if CiviContribute is an enabled component. $components = \Civi\Api4\Setting::get() ->addSelect('enable_components') ->execute()[0]['value']; - // if Contribute component is active, create the Fees tab + // If CiviContribute is active, create the Fees tab. if (in_array('CiviContribute', $components)) { $tabs['fee'] = ['title' => ts('Fees')] + $default; } -- 2.25.1