Fix stupid typo in include/event.php
That leads to blank events page
This commit is contained in:
parent
19ee5797fa
commit
fc54ee2928
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ function format_event_html($ev) {
|
||||||
. bbcode($ev['location'])
|
. bbcode($ev['location'])
|
||||||
. '</span></p>' . "\r\n";
|
. '</span></p>' . "\r\n";
|
||||||
|
|
||||||
if (str_pos("[map", $ev['location'])==0) {
|
if (strpos($ev['location'], "[map")===False) {
|
||||||
$map = generate_named_map($ev['location']);
|
$map = generate_named_map($ev['location']);
|
||||||
if ($map!==$ev['location']) $o.=$map;
|
if ($map!==$ev['location']) $o.=$map;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue