codespell: CRM/*
[civicrm-core.git] / CRM / Core / BAO / Block.php
index 541e4791dbc6d00538cc475f2c3eea48f2b29be6..31317569558d2857811272d010fd224a45665f9f 100644 (file)
@@ -464,7 +464,7 @@ class CRM_Core_BAO_Block {
     if (!empty($params['is_primary'])) {
       $sql = "UPDATE $table SET is_primary = 0 WHERE contact_id = %1";
       $sqlParams = array(1 => array($contactId, 'Integer'));
-      // we don't want to create unecessary entries in the log_ tables so exclude the one we are working on
+      // we don't want to create unnecessary entries in the log_ tables so exclude the one we are working on
       if (!empty($params['id'])) {
         $sql .= " AND id <> %2";
         $sqlParams[2] = array($params['id'], 'Integer');