From c340377452ca4bef86a5fd822112e1b978489074 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Thu, 6 Aug 2015 08:57:28 +0000 Subject: [PATCH] Fix Spelling of membership in Membership Search form --- CRM/Member/BAO/Query.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CRM/Member/BAO/Query.php b/CRM/Member/BAO/Query.php index 3a7b86d41f..302b3a4d5a 100644 --- a/CRM/Member/BAO/Query.php +++ b/CRM/Member/BAO/Query.php @@ -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')); -- 2.25.1