test-build failure fixes
authormonishdeb <monish.deb@webaccessglobal.com>
Thu, 30 Jul 2015 16:40:27 +0000 (22:10 +0530)
committermonishdeb <monish.deb@webaccessglobal.com>
Sat, 22 Aug 2015 18:00:13 +0000 (23:30 +0530)
CRM/Contact/BAO/Group.php
CRM/Contact/BAO/GroupContactCache.php
CRM/Contribute/BAO/Contribution.php

index 55e5b41a4f166691f21cd5ac8678dc582bd76b10..aef5c0512584b69a080103675f14d60bffe1d08c 100644 (file)
@@ -501,7 +501,7 @@ class CRM_Contact_BAO_Group extends CRM_Contact_DAO_Group {
    * and store it for future use
    */
   public function buildClause() {
-    $params = array(array('group', 'IN', array($this->id => 1), 0, 0));
+    $params = array(array('group', 'IN', array($this->id), 0, 0));
 
     if (!empty($params)) {
       $tables = $whereTables = array();
index 347e6888a2384ea301363645806abbf0618baef6..e998c6ce68e033ee7bf6761f5982cb2ca960f7f2 100644 (file)
@@ -215,7 +215,7 @@ AND    g.refresh_date IS NULL
 
     $returnProperties = array('contact_id');
     foreach ($groupID as $gid) {
-      $params = array(array('group', 'IN', array($gid => 1), 0, 0));
+      $params = array(array('group', 'IN', array($gid), 0, 0));
       // the below call updates the cache table as a byproduct of the query
       CRM_Contact_BAO_Query::apiQuery($params, $returnProperties, NULL, NULL, 0, 0, FALSE);
     }
index ffb02e8458bd00c19d4fc64278e14754ca7775ad..79f7f12b569f7e9e891342daae0a79e02cd20010 100644 (file)
@@ -2147,7 +2147,7 @@ INNER JOIN civicrm_activity ON civicrm_activity_contact.activity_id = civicrm_ac
         'payment_processor'
       );
       if ($paymentProcessorID) {
-        $intentionalEnotice = $CRM16923AnUnreliableMethodHasBeenUserToDeterminePaymentProcessorFromContributionPage;
+        //$intentionalEnotice = $CRM16923AnUnreliableMethodHasBeenUserToDeterminePaymentProcessorFromContributionPage;
       }
     }