]> git.mxchange.org Git - friendica.git/blobdiff - include/text.php
Merge branch 'develop' into rewrites/dbm_is_result
[friendica.git] / include / text.php
index 59d4e1cc9fe290fb7d2c7b93a3e21b396fc58d4d..8d3b6a8050199ec5ec4d78ea0982af902e3a2316 100644 (file)
@@ -1367,7 +1367,7 @@ function prepare_body(&$item,$attach = false, $preview = false) {
        // map
        if(strpos($s,'<div class="map">') !== false && $item['coord']) {
                $x = generate_map(trim($item['coord']));
-               if($x) {
+               if ($x) {
                        $s = preg_replace('/\<div class\=\"map\"\>/','$0' . $x,$s);
                }
        }