From 077f88fe6ed1732ab396d7eb831a1a1426c505ac Mon Sep 17 00:00:00 2001 From: yashodha Date: Tue, 5 Feb 2019 09:44:28 +0530 Subject: [PATCH] (dev/core#696) Changes to copied event phone and email reflects in original event phone and email --- CRM/Event/Form/ManageEvent/Location.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CRM/Event/Form/ManageEvent/Location.php b/CRM/Event/Form/ManageEvent/Location.php index 58d27ed775..50d853972a 100644 --- a/CRM/Event/Form/ManageEvent/Location.php +++ b/CRM/Event/Form/ManageEvent/Location.php @@ -228,8 +228,8 @@ class CRM_Event_Form_ManageEvent_Location extends CRM_Event_Form_ManageEvent { ); } - $this->_values['address'] = array(); - // if 'create new loc' optioin is selected OR selected new loc is different + $this->_values['address'] = $this->_values['phone'] = $this->_values['email'] = array(); + // if 'create new loc' option is selected OR selected new loc is different // from old one, go ahead and delete the old loc provided thats not being // used by any other event if ($this->_oldLocBlockId && $deleteOldBlock) { -- 2.25.1