added more comments for the code, CRM-14052
authorkurund <kurund@civicrm.org>
Fri, 10 Jan 2014 20:06:03 +0000 (12:06 -0800)
committerkurund <kurund@civicrm.org>
Fri, 10 Jan 2014 20:06:03 +0000 (12:06 -0800)
----------------------------------------
* CRM-14052: Tagset fixes
  http://issues.civicrm.org/jira/browse/CRM-14052

CRM/Core/Form/Tag.php

index e90ebb1e374e06014eb58552bb2aa144b074164d..e36dccd88c312b5a6f288a2db16267004b55e353 100644 (file)
@@ -256,7 +256,7 @@ class CRM_Core_Form_Tag {
     if ($form) {
       // if the key is missing from the form response then all the tags were deleted / cleared
       // in that case we create empty tagset params so that below logic works and tagset are
-      // delete correctly
+      // deleted correctly
       foreach ($form->_tagsetInfo as $tagsetName => $tagsetInfo) {
         $tagsetId = substr($tagsetName, strlen('parentId_'));
         if (empty($params[$tagsetId])) {