X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FBAO%2FTag.php;h=9d7e976b29d01ffa0bef30ea04a846e64d7acc2a;hb=b44e3f8468ceba3e1b321d31dd2e35a1aa1a5d9a;hp=5370623883002d9a715c6f16d014583ce3309d9e;hpb=b7ff0a0a5544c5a5d510c685c8fdbdaecad7a5d0;p=civicrm-core.git diff --git a/CRM/Core/BAO/Tag.php b/CRM/Core/BAO/Tag.php index 5370623883..9d7e976b29 100644 --- a/CRM/Core/BAO/Tag.php +++ b/CRM/Core/BAO/Tag.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 4.6 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2014 | + | Copyright CiviCRM LLC (c) 2004-2015 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -28,7 +28,7 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2014 + * @copyright CiviCRM LLC (c) 2004-2015 * $Id$ * */ @@ -208,10 +208,10 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag { $tags = array(); } // We need to build a list of tags ordered by hierarchy and sorted by - // name. The heirarchy will be communicated by an accumulation of + // name. The hierarchy will be communicated by an accumulation of // separators in front of the name to give it a visual offset. // Instead of recursively making mysql queries, we'll make one big - // query and build the heirarchy with the algorithm below. + // query and build the hierarchy with the algorithm below. $args = array(1 => array('%' . $usedFor . '%', 'String')); $query = "SELECT id, name, parent_id, is_tagset, is_selectable FROM civicrm_tag @@ -323,7 +323,7 @@ class CRM_Core_BAO_Tag extends CRM_Core_DAO_Tag { */ public static function del($id) { // since this is a destructive operation, lets make sure - // id is a postive number + // id is a positive number CRM_Utils_Type::validate($id, 'Positive'); // delete all crm_entity_tag records with the selected tag id