diff --git a/CRM/TwingleCampaign/BAO/TwingleEvent.php b/CRM/TwingleCampaign/BAO/TwingleEvent.php index 8193ab1..2c7bed9 100644 --- a/CRM/TwingleCampaign/BAO/TwingleEvent.php +++ b/CRM/TwingleCampaign/BAO/TwingleEvent.php @@ -34,10 +34,6 @@ class TwingleEvent extends Campaign { $this->className = (new \ReflectionClass($this))->getShortName(); $this->prefix = 'twingle_event_'; $this->values['campaign_type_id'] = 'twingle_event'; - // Add value for campaign type - $event['campaign_type_id'] = 'twingle_event'; - - // Get custom field name for event_id $this->id_custom_field = Cache::getInstance() ->getCustomFieldMapping()['twingle_event_id']; $this->values['parent_id'] = $this->getParentCampaignId(); diff --git a/CRM/TwingleCampaign/Form/Settings.php b/CRM/TwingleCampaign/Form/Settings.php index 94fb607..a532e77 100644 --- a/CRM/TwingleCampaign/Form/Settings.php +++ b/CRM/TwingleCampaign/Form/Settings.php @@ -1,6 +1,6 @@