X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fsubthread.php;h=93992d8daac640e3eeaa66c460d684df97a74b21;hb=0d1fa70e2ecb372d158871285e0cda5f6d77194a;hp=ebec978c592c9300dcd883c4c68b6cec707e1b14;hpb=1afb49f412f31d7e9283426ac0bb20b2050ea52b;p=friendica.git diff --git a/mod/subthread.php b/mod/subthread.php index ebec978c59..93992d8daa 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::performActivity($item_id, 'follow')) { + if (!Item::performActivity($item_id, 'follow', local_user())) { Logger::info('Following item failed', ['item' => $item_id]); throw new HTTPException\BadRequestException(); }