space-time!
Signed-off-by: Roland Haeder <roland@mxchange.org>
This commit is contained in:
parent
44a137a8de
commit
18ca141f5c
|
@ -1272,9 +1272,9 @@ function handle_tag(App $a, &$body, &$inform, &$str_tags, $profile_uid, $tag, $n
|
||||||
|
|
||||||
$replaced = true;
|
$replaced = true;
|
||||||
// create profile link
|
// create profile link
|
||||||
$profile = str_replace(',','%2c',$profile);
|
$profile = str_replace(',', '%2c', $profile);
|
||||||
$newtag = '@[url='.$profile.']'.$newname.'[/url]';
|
$newtag = '@[url=' . $profile . ']' . $newname . '[/url]';
|
||||||
$body = str_replace('@'.$name, $newtag, $body);
|
$body = str_replace('@' . $name, $newtag, $body);
|
||||||
// append tag to str_tags
|
// append tag to str_tags
|
||||||
if (! stristr($str_tags, $newtag)) {
|
if (! stristr($str_tags, $newtag)) {
|
||||||
if (strlen($str_tags)) {
|
if (strlen($str_tags)) {
|
||||||
|
|
Loading…
Reference in a new issue