From 9037f68420cfeca01973a2cfa8145d81d96d91e0 Mon Sep 17 00:00:00 2001 From: Brian Shaughnessy Date: Wed, 9 May 2018 18:24:43 -0400 Subject: [PATCH] dev/core#108 reset address array when setting new event location --- CRM/Event/Form/ManageEvent/Location.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CRM/Event/Form/ManageEvent/Location.php b/CRM/Event/Form/ManageEvent/Location.php index 9e86414ea4..f7c11764dc 100644 --- a/CRM/Event/Form/ManageEvent/Location.php +++ b/CRM/Event/Form/ManageEvent/Location.php @@ -225,6 +225,8 @@ 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(); } // if 'create new loc' optioin is selected OR selected new loc is different -- 2.25.1