From: yashodha Date: Tue, 5 Feb 2019 04:14:28 +0000 (+0530) Subject: (dev/core#696) Changes to copied event phone and email reflects in original event... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=077f88fe6ed1732ab396d7eb831a1a1426c505ac;p=civicrm-core.git (dev/core#696) Changes to copied event phone and email reflects in original event phone and email --- 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) {