Fix Spelling of membership in Membership Search form
authorSeamus Lee <seamuslee001@gmail.com>
Thu, 6 Aug 2015 08:57:28 +0000 (08:57 +0000)
committerSeamus Lee <seamuslee001@gmail.com>
Thu, 6 Aug 2015 08:57:28 +0000 (08:57 +0000)
CRM/Member/BAO/Query.php

index 3a7b86d41f1143e94dade3201376ab81f461fb7b..302b3a4d5abb9b263c0a76977fd7ecb45fa6f474 100644 (file)
@@ -216,7 +216,7 @@ class CRM_Member_BAO_Query {
         }
         else {
           $name = 'membership_type_id';
-          $qillName = 'Memebership Type(s)';
+          $qillName = 'Membership Type(s)';
         }
         $query->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause("civicrm_membership.$name",
           $op,
@@ -391,12 +391,12 @@ class CRM_Member_BAO_Query {
    */
   public static function buildSearchForm(&$form) {
     $membershipStatus = CRM_Member_PseudoConstant::membershipStatus();
-    $form->add('select', 'membership_status_id', ts('Memebership Status(s)'), $membershipStatus, FALSE,
+    $form->add('select', 'membership_status_id', ts('Membership Status(s)'), $membershipStatus, FALSE,
       array('id' => 'membership_status_id', 'multiple' => 'multiple', 'class' => 'crm-select2')
     );
 
     $form->addSelect('membership_type_id',
-      array('entity' => 'membership', 'multiple' => 'multiple', 'label' => ts('Memebership Type(s)'), 'option_url' => NULL, 'placeholder' => ts('- any -'))
+      array('entity' => 'membership', 'multiple' => 'multiple', 'label' => ts('Membership Type(s)'), 'option_url' => NULL, 'placeholder' => ts('- any -'))
     );
 
     $form->addElement('text', 'member_source', ts('Source'));