warning fix
authorjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 12 Oct 2015 10:21:36 +0000 (15:51 +0530)
committerjitendrapurohit <jitendra.purohit@webaccessglobal.com>
Mon, 12 Oct 2015 10:21:36 +0000 (15:51 +0530)
CRM/Contact/BAO/Query.php

index 426e15d5715797aaba984f5c31b58986958ca7dd..12eca8de6853dc25da9994f7c9070d1e641982f4 100644 (file)
@@ -820,7 +820,7 @@ class CRM_Contact_BAO_Query {
                 $this->_pseudoConstantsSelect[$tName]['select'] = "{$field['where']} as `$name`";
                 $this->_pseudoConstantsSelect[$tName]['element'] = $name;
               }
-              elseif (strpos($name, 'contribution_soft_credit') !== FALSE ) {
+              elseif (strpos($name, 'contribution_soft_credit') !== FALSE) {
                 if (CRM_Contribute_BAO_Query::isSoftCreditOptionEnabled($this->_params)) {
                   $this->_select[$name] = "{$field['where']} as `$name`";
                 }