From: Roland Haeder Date: Fri, 31 Mar 2017 18:52:32 +0000 (+0200) Subject: space-time! X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=18ca141f5c56f962b4fb228c99871b2b831aa189;p=friendica.git space-time! Signed-off-by: Roland Haeder --- diff --git a/mod/item.php b/mod/item.php index 677406be3c..79633cdc18 100644 --- a/mod/item.php +++ b/mod/item.php @@ -1272,9 +1272,9 @@ function handle_tag(App $a, &$body, &$inform, &$str_tags, $profile_uid, $tag, $n $replaced = true; // create profile link - $profile = str_replace(',','%2c',$profile); - $newtag = '@[url='.$profile.']'.$newname.'[/url]'; - $body = str_replace('@'.$name, $newtag, $body); + $profile = str_replace(',', '%2c', $profile); + $newtag = '@[url=' . $profile . ']' . $newname . '[/url]'; + $body = str_replace('@' . $name, $newtag, $body); // append tag to str_tags if (! stristr($str_tags, $newtag)) { if (strlen($str_tags)) {