event_form: use [map] tag to embedd a map

This commit is contained in:
rabuzarus 2016-01-30 05:12:27 +01:00
parent 4cac6a744f
commit 088b075bba
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;
}