]> git.mxchange.org Git - friendica.git/blobdiff - include/event.php
Small restructuring
[friendica.git] / include / event.php
index c24484f8a558891d91542a7a6d83bce84f15bc8f..fedbe24468ab67a4085422375974013e279bd77e 100644 (file)
@@ -43,7 +43,7 @@ function format_event_html($ev) {
                        . bbcode($ev['location']) 
                        . '</span></p>' . "\r\n";
                
-               if (str_pos("[map", $ev['location'])==0) {
+               if (strpos($ev['location'], "[map")===False) {
                        $map = generate_named_map($ev['location']);
                        if ($map!==$ev['location']) $o.=$map;
                }