From: fabrixxm Date: Mon, 18 May 2015 07:54:43 +0000 (+0200) Subject: Fix stupid typo in include/event.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fc54ee2928196bf9dd846c77a1066e5c18e0ae3a;p=friendica.git Fix stupid typo in include/event.php That leads to blank events page --- diff --git a/include/event.php b/include/event.php index c24484f8a5..fedbe24468 100644 --- a/include/event.php +++ b/include/event.php @@ -43,7 +43,7 @@ function format_event_html($ev) { . bbcode($ev['location']) . '

' . "\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; }