given a tag @foo, don't also link/replace words like food in msg body
This commit is contained in:
parent
ab62b8f712
commit
950e5f6693
1 changed files with 1 additions and 1 deletions
|
@ -228,7 +228,7 @@ function item_post(&$a) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if($profile) {
|
if($profile) {
|
||||||
$body = str_replace($name,'[url=' . $profile . ']' . $newname . '[/url]', $body);
|
$body = str_replace('@' . $name, '@' . '[url=' . $profile . ']' . $newname . '[/url]', $body);
|
||||||
$profile = str_replace(',','%2c',$profile);
|
$profile = str_replace(',','%2c',$profile);
|
||||||
if(strlen($str_tags))
|
if(strlen($str_tags))
|
||||||
$str_tags .= ',';
|
$str_tags .= ',';
|
||||||
|
|
Loading…
Reference in a new issue