X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsubthread.php;h=ebec978c592c9300dcd883c4c68b6cec707e1b14;hb=737b04d7e2cb2452f9ac25071d2cf67544e01476;hp=24b20d49dc6dca26c202def892fd5299b98f443a;hpb=825a7f9f93c063cc314d29b4bfacb42398cf9bf6;p=friendica.git diff --git a/mod/subthread.php b/mod/subthread.php index 24b20d49dc..ebec978c59 100644 --- a/mod/subthread.php +++ b/mod/subthread.php @@ -34,7 +34,7 @@ function subthread_content(App $a) $item_id = (($a->argc > 1) ? Strings::escapeTags(trim($a->argv[1])) : 0); - if (!Item::performLike($item_id, 'follow')) { + if (!Item::performActivity($item_id, 'follow')) { Logger::info('Following item failed', ['item' => $item_id]); throw new HTTPException\BadRequestException(); }