mirror of
https://github.com/friendica/friendica
synced 2025-04-26 13:10:11 +00:00
added spaces + curly braces
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
f3529e7dbc
commit
fc9dbc0899
5 changed files with 27 additions and 13 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue