From cc57909ab421feffada2cf4e2186d3b58a7ddc42 Mon Sep 17 00:00:00 2001 From: Eileen Date: Wed, 19 Feb 2014 22:10:04 +1300 Subject: [PATCH] CRM-14246 - event on behalf - alter function that assigns events to cope with string or array --- CRM/Core/Form.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Form.php b/CRM/Core/Form.php index 2617c25793..8cbc0d9e59 100644 --- a/CRM/Core/Form.php +++ b/CRM/Core/Form.php @@ -1657,7 +1657,7 @@ class CRM_Core_Form extends HTML_QuickForm_Page { $profiles[] = $this->_values['custom_pre_id']; } if($this->_values['custom_post_id']) { - $profiles[] = $this->_values['custom_post_id']; + $profiles = array_merge($profiles, (array) $this->_values['custom_post_id']); } if($onlinePaymentProcessorEnabled) { $profiles[] = 'billing'; -- 2.25.1