projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0990c0
)
PHP8 fix - always define locations in event info template
author
Jon Goldberg
<jon@megaphonetech.com>
Mon, 7 Nov 2022 17:58:12 +0000
(12:58 -0500)
committer
Jon Goldberg
<jon@megaphonetech.com>
Mon, 7 Nov 2022 17:58:12 +0000
(12:58 -0500)
CRM/Event/Page/EventInfo.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Event/Page/EventInfo.php
b/CRM/Event/Page/EventInfo.php
index 92ffc131e1980e7eb30153b12b1b9d423e305108..58681f7177bfdb3a2f48d83e1c8ea1e657ceaa0d 100644
(file)
--- a/
CRM/Event/Page/EventInfo.php
+++ b/
CRM/Event/Page/EventInfo.php
@@
-178,8
+178,8
@@
class CRM_Event_Page_EventInfo extends CRM_Core_Page {
$this->assign('action', CRM_Core_Action::VIEW);
//To show the event location on maps directly on event info page
$locations = CRM_Event_BAO_Event::getMapInfo($this->_id);
+ $this->assign('locations', $locations);
if (!empty($locations) && !empty($values['event']['is_map'])) {
- $this->assign('locations', $locations);
$this->assign('mapProvider', $config->mapProvider);
$this->assign('mapKey', $config->mapAPIKey);
$sumLat = $sumLng = 0;