]> git.mxchange.org Git - friendica.git/blobdiff - include/event.php
event_form: use [map] tag to embedd a map
[friendica.git] / include / event.php
index c4111dc0b174869be3fff15d6b58599a10d06bcd..13c414c9e30f3907b875f429d5fe162efc7f629c 100644 (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;
                }