From 75a9f481657fe9bb08041e80adf35d7d25c916ac Mon Sep 17 00:00:00 2001 From: Alain Benbassat Date: Fri, 2 Aug 2024 10:11:46 +0200 Subject: [PATCH] fixes incorrect display of tag field label in profiles --- CRM/Contact/Form/Edit/TagsAndGroups.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contact/Form/Edit/TagsAndGroups.php b/CRM/Contact/Form/Edit/TagsAndGroups.php index c2f3cdabea31..44bfb5efd242 100644 --- a/CRM/Contact/Form/Edit/TagsAndGroups.php +++ b/CRM/Contact/Form/Edit/TagsAndGroups.php @@ -137,7 +137,7 @@ public static function buildQuickForm( $tags = CRM_Core_BAO_Tag::getColorTags('civicrm_contact'); if (!empty($tags)) { - $form->add('select2', 'tag', ts('Tag(s)'), $tags, $isRequired, ['class' => 'huge', 'placeholder' => ts('- select -'), 'multiple' => TRUE]); + $form->add('select2', 'tag', $tagName, $tags, $isRequired, ['class' => 'huge', 'placeholder' => ts('- select -'), 'multiple' => TRUE]); } // build tag widget