From cb441c609b2dd02500286f2af70a4fc522a48f63 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Sat, 4 Apr 2015 13:50:59 -0400 Subject: [PATCH] CRM-16236 - Fix survey api to include petition activities --- CRM/Campaign/BAO/Survey.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Campaign/BAO/Survey.php b/CRM/Campaign/BAO/Survey.php index de6f7a1b11..2e833d5af1 100644 --- a/CRM/Campaign/BAO/Survey.php +++ b/CRM/Campaign/BAO/Survey.php @@ -1127,7 +1127,7 @@ UPDATE civicrm_activity case 'activity_type_id': $campaignCompId = CRM_Core_Component::getComponentID('CiviCampaign'); if ($campaignCompId) { - $params['condition'] = array("component_id={$campaignCompId}", "v.name != 'Petition'"); + $params['condition'] = array("component_id={$campaignCompId}"); } break; } -- 2.25.1