Merge pull request #1567 from fabrixxm/feature/map
Fix stupid typo in include/event.php
This commit is contained in:
commit
996224a8a4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue