Skip to content

Commit

Permalink
Merge pull request #12104 from lcdservices/dev-core-108
Browse files Browse the repository at this point in the history
dev/core#108 reset address array when setting new event location
  • Loading branch information
monishdeb authored May 10, 2018
2 parents 421e9a1 + 9037f68 commit f735b1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CRM/Event/Form/ManageEvent/Location.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,8 @@ public function postProcess() {
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
Expand Down

0 comments on commit f735b1a

Please sign in to comment.