Merge pull request #2304 from rabuzarus/3001_event_map_fix

event_form: use [map] tag to embedd a map
This commit is contained in:
Tobias Diekershoff 2016-01-30 06:59:30 +01:00
commit 748d0e576c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}