Fix for CRM-16264
authorWeb Access <rohan.katkar@webaccessglobal.com>
Fri, 10 Apr 2015 13:26:36 +0000 (18:56 +0530)
committerWeb Access <rohan.katkar@webaccessglobal.com>
Fri, 10 Apr 2015 13:26:36 +0000 (18:56 +0530)
CRM/Contact/Form/Edit/TagsAndGroups.php

index a3d15a7a7fdb1bcd8bca187095c373437ed804f3..944092077b04df408dc20f724466b2f3495aa4e3 100644 (file)
@@ -206,7 +206,7 @@ class CRM_Contact_Form_Edit_TagsAndGroups {
         'id' => "tag_{$tagID}",
       );
 
-      $elements[$tagID] = $form->createElement('checkbox', $tagID, '', '', $tagAttribute);
+      $elements[$tagID] = $form->createElement('checkbox', $tagID, '', $varValue['name'], $tagAttribute);
 
       if (array_key_exists('children', $varValue)) {
         self::climbtree($form, $varValue['children'], $elements);