Skip to content

Commit

Permalink
Merge pull request #30554 from seamuslee001/event_map_always_assign
Browse files Browse the repository at this point in the history
Fix a couple of smarty notices when viewing the big map on events by …
  • Loading branch information
demeritcowboy authored Jun 27, 2024
2 parents 7c23dd2 + 1c72386 commit 2bfbdcc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Contact/Form/Task/Map.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public function preProcess() {
$this, FALSE
);
$this->assign('profileGID', $profileGID);
$this->assign('showDirectly', FALSE);
$context = CRM_Utils_Request::retrieve('context', 'Alphanumeric', $this);

$type = 'Contact';
Expand Down
2 changes: 2 additions & 0 deletions CRM/Contact/Form/Task/Map/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public function preProcess() {
$this, FALSE
);
$type = 'Event';
$this->assign('profileGID');
$this->assign('showDirectly', FALSE);
self::createMapXML($ids, $lid, $this, TRUE, $type);
$this->assign('single', FALSE);
$this->assign('skipLocationType', TRUE);
Expand Down

0 comments on commit 2bfbdcc

Please sign in to comment.