From ab981c22214539151e72922138ab34541419ac64 Mon Sep 17 00:00:00 2001 From: yashodha Date: Thu, 12 Jul 2018 15:15:20 +0530 Subject: [PATCH] (dev/core#255) Changes to copied event location reflects in original event location --- CRM/Event/Form/ManageEvent/Location.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CRM/Event/Form/ManageEvent/Location.php b/CRM/Event/Form/ManageEvent/Location.php index f7c11764dc..d28b2187fd 100644 --- a/CRM/Event/Form/ManageEvent/Location.php +++ b/CRM/Event/Form/ManageEvent/Location.php @@ -225,10 +225,9 @@ class CRM_Event_Form_ManageEvent_Location extends CRM_Event_Form_ManageEvent { CRM_Core_DAO::setFieldValue('CRM_Event_DAO_Event', $this->_id, 'loc_block_id', 'null' ); - - $this->_values['address'] = array(); } + $this->_values['address'] = array(); // if 'create new loc' optioin 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 -- 2.25.1