From edb227cda6bd7f349ada8af17cab9f5077bfc0f8 Mon Sep 17 00:00:00 2001 From: eileenmcnaugton Date: Mon, 15 Feb 2016 14:53:10 +1300 Subject: [PATCH] CRM-18033 don't remove disabled campaigns --- CRM/Contribute/Form/UpdateSubscription.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Contribute/Form/UpdateSubscription.php b/CRM/Contribute/Form/UpdateSubscription.php index 91cbd86779..dc332d3618 100644 --- a/CRM/Contribute/Form/UpdateSubscription.php +++ b/CRM/Contribute/Form/UpdateSubscription.php @@ -189,7 +189,7 @@ class CRM_Contribute_Form_UpdateSubscription extends CRM_Core_Form { } if (CRM_Core_Permission::check('edit contributions')) { - CRM_Campaign_BAO_Campaign::addCampaign($this); + CRM_Campaign_BAO_Campaign::addCampaign($this, $this->_subscriptionDetails->campaign_id); } if (CRM_Contribute_BAO_ContributionRecur::supportsFinancialTypeChange($this->contributionRecurID)) { -- 2.25.1