CRM-14246 - event on behalf - alter function that assigns events to cope with string...
authorEileen <eileen@fuzion.co.nz>
Wed, 19 Feb 2014 09:10:04 +0000 (22:10 +1300)
committerEileen McNaughton <eileen@fuzion.co.nz>
Mon, 22 Dec 2014 19:16:26 +0000 (08:16 +1300)
CRM/Core/Form.php

index 2617c25793d935f6f598ee51eb6e61f83a01e0bf..8cbc0d9e59124f3dfeb5ad1d15d8dde1fc4acf70 100644 (file)
@@ -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';