Merge pull request #1567 from fabrixxm/feature/map

Fix stupid typo in include/event.php
This commit is contained in:
fabrixxm 2015-05-18 10:08:30 +02:00
commit 996224a8a4

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