From: Coleman Watts Date: Sat, 4 Apr 2015 17:50:59 +0000 (-0400) Subject: CRM-16236 - Fix survey api to include petition activities X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=cb441c609b2dd02500286f2af70a4fc522a48f63;p=civicrm-core.git CRM-16236 - Fix survey api to include petition activities --- 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; }