Browse Source

space-time!

Signed-off-by: Roland Haeder <roland@mxchange.org>
pull/3254/head
Roland Haeder 4 years ago
parent
commit
18ca141f5c
No known key found for this signature in database GPG Key ID: B72F8185C6C7BD78
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      mod/item.php

+ 3
- 3
mod/item.php View 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)) {


Loading…
Cancel
Save