From fc54ee2928196bf9dd846c77a1066e5c18e0ae3a Mon Sep 17 00:00:00 2001 From: fabrixxm Date: Mon, 18 May 2015 09:54:43 +0200 Subject: [PATCH] Fix stupid typo in include/event.php That leads to blank events page --- include/event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5