appnet: Now more links are removed, if they are used in the attached data
This commit is contained in:
parent
d3fa9a7b21
commit
1b41f6581b
1 changed files with 3 additions and 0 deletions
|
@ -975,6 +975,9 @@ function appnet_createpost($a, $uid, $post, $me, $user, $ownid, $createuser, $th
|
|||
if (($removedlink == "") OR strstr($postarray['body'], $removedlink))
|
||||
$postarray['body'] = $removedlink;
|
||||
|
||||
if (($removedlink == "") OR strstr("[url]".$postarray['body']."[/url]", $removedlink))
|
||||
$postarray['body'] = $removedlink;
|
||||
|
||||
$page_info = add_page_info($link, false, $photo["url"]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue