]> git.mxchange.org Git - friendica.git/commitdiff
space-time!
authorRoland Haeder <roland@mxchange.org>
Fri, 31 Mar 2017 18:52:32 +0000 (20:52 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 31 Mar 2017 18:52:43 +0000 (20:52 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
mod/item.php

index 677406be3c7e33dd9dac1573a0a3c55ff60aba4e..79633cdc181e93bb738d76abc7ff60215f20d691 100644 (file)
@@ -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)) {