]> git.mxchange.org Git - friendica.git/blobdiff - include/event.php
Merge pull request #2471 from annando/1604-diaspora-always-on
[friendica.git] / include / event.php
index c4111dc0b174869be3fff15d6b58599a10d06bcd..a9f054fc2ed2bf530e9c6c0d9fbadf7570313c6d 100644 (file)
@@ -61,7 +61,7 @@ function format_event_html($ev, $simple = false) {
                        . bbcode($ev['location'])
                        . '</span></p>' . "\r\n";
 
-               if (strpos($ev['location'], "[map")===False) {
+               if (strpos($ev['location'], "[map") !== False) {
                        $map = generate_named_map($ev['location']);
                        if ($map!==$ev['location']) $o.=$map;
                }
@@ -76,7 +76,6 @@ function format_event_html($ev, $simple = false) {
 function parse_event($h) {
 
        require_once('include/Scrape.php');
-       require_once('library/HTMLPurifier.auto.php');
        require_once('include/html2bbcode');
 
        $h = '<html><body>' . $h . '</body></html>';