]> git.mxchange.org Git - friendica.git/commitdiff
Fix stupid typo in include/event.php
authorfabrixxm <fabrix.xm@gmail.com>
Mon, 18 May 2015 07:54:43 +0000 (09:54 +0200)
committerfabrixxm <fabrix.xm@gmail.com>
Mon, 18 May 2015 07:54:43 +0000 (09:54 +0200)
That leads to blank events page

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