From 21a2fcefeab2b59581e34aba42d71b026d20ba92 Mon Sep 17 00:00:00 2001 From: yashodha Date: Tue, 25 Aug 2015 11:28:47 +0530 Subject: [PATCH] CRM-17069: Search for Contribution with campaign causes fatal error ---------------------------------------- * CRM-17069: Search for Contribution with campaign causes fatal error https://issues.civicrm.org/jira/browse/CRM-17069 --- CRM/Campaign/BAO/Query.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/CRM/Campaign/BAO/Query.php b/CRM/Campaign/BAO/Query.php index a6e7b2f090..cf7e04993e 100755 --- a/CRM/Campaign/BAO/Query.php +++ b/CRM/Campaign/BAO/Query.php @@ -603,13 +603,6 @@ INNER JOIN civicrm_custom_group grp on fld.custom_group_id = grp.id $campaignIds[$campId] = $campId; $campaignTitles[$campId] = $allCampaigns[$campId]; } - if (count($campaignIds) > 1) { - $op = 'IN'; - $campaignIds = '(' . implode(',', $campaignIds) . ')'; - } - else { - $campaignIds = reset($campaignIds); - } } else { $campaignIds = $campaign; -- 2.25.1