Fix stupid typo in include/event.php

That leads to blank events page
This commit is contained in:
fabrixxm 2015-05-18 09:54:43 +02:00
parent 19ee5797fa
commit fc54ee2928

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