Browse Source

Merge pull request #2304 from rabuzarus/3001_event_map_fix

event_form: use [map] tag to embedd a map
pull/2306/head
Tobias Diekershoff 6 years ago
parent
commit
748d0e576c
  1. 2
      include/event.php

2
include/event.php

@ -61,7 +61,7 @@ function format_event_html($ev, $simple = false) {
. bbcode($ev['location'])
. '</span></p>' . "\r\n";
if (strpos($ev['location'], "[map")===False) {
if (strpos($ev['location'], "[map") !== False) {
$map = generate_named_map($ev['location']);
if ($map!==$ev['location']) $o.=$map;
}

Loading…
Cancel
Save