minor fixes
authoryashodha <yashodha.chaku@webaccessglobal.com>
Mon, 13 Jun 2016 11:15:21 +0000 (16:45 +0530)
committeryashodha <yashodha.chaku@webaccessglobal.com>
Mon, 13 Jun 2016 11:15:21 +0000 (16:45 +0530)
CRM/Member/BAO/Query.php

index dda4410cc9aa7f1037ade5e7b9a0053506f49b3a..477a4e60ac2b2629a568574a3a8b9c87ff670be4 100644 (file)
@@ -252,7 +252,7 @@ class CRM_Member_BAO_Query {
         return;
 
       case 'member_test':
-        // We dont want to include all tests for sql OR CRM-7827
+        // We don't want to include all tests for sql OR CRM-7827
         if (!$value || $query->getOperator() != 'OR') {
           $query->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause("civicrm_membership.is_test", $op, $value, "Boolean");
           if ($value) {
@@ -279,7 +279,7 @@ class CRM_Member_BAO_Query {
             ),
             "Integer");
           $query->_qill[$grouping][] = ts("Membership is Auto-Renew and In Progress");
-        } 
+        }
         elseif ($value == 3) {
           $query->_where[$grouping][] = " civicrm_membership.contribution_recur_id IS NOT NULL";
           $query->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause(
@@ -291,7 +291,7 @@ class CRM_Member_BAO_Query {
             ),
             "Integer");
           $query->_qill[$grouping][] = ts("Membership is Auto-Renew and Failed");
-        } 
+        }
         elseif ($value == 4) {
           $query->_where[$grouping][] = " civicrm_membership.contribution_recur_id IS NOT NULL";
           $query->_where[$grouping][] = CRM_Contact_BAO_Query::buildClause(
@@ -304,7 +304,7 @@ class CRM_Member_BAO_Query {
             "Integer"
           );
           $query->_qill[$grouping][] = ts("Membership is Auto-Renew and Cancelled");
-        } 
+        }
         elseif ($value == 5) {
           $query->_where[$grouping][] = " civicrm_membership.contribution_recur_id IS NOT NULL";
           $query->_where[$grouping][] = " ccr.end_date IS NOT NULL AND ccr.end_date < NOW()";