From 4d0bcfec5597122726ec0fdb081be515469fd95a Mon Sep 17 00:00:00 2001 From: Jens Schuppe Date: Mon, 25 Feb 2019 09:42:11 +0100 Subject: [PATCH] Add an empty option for the campaign select field on the profile form. --- CRM/Twingle/Form/Profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Twingle/Form/Profile.php b/CRM/Twingle/Form/Profile.php index e39ad52..79a5c4e 100644 --- a/CRM/Twingle/Form/Profile.php +++ b/CRM/Twingle/Form/Profile.php @@ -212,7 +212,7 @@ class CRM_Twingle_Form_Profile extends CRM_Core_Form { 'select', // field type 'campaign', // field name E::ts('Assign donation to campaign'), // field label - $this->getCampaigns(), // list of options + array('' => E::ts('- none -')) + $this->getCampaigns(), // list of options FALSE, // is not required array('class' => 'crm-select2 huge') );