X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FLike.php;h=727aa5ddfe1389d31aa23579841e9c8224e7f4a9;hb=3f523a88b0af4e2a73b29917da33d221abef9647;hp=ca382475082c6871bcb4305e3e62a00020d07cdf;hpb=2d217129b9fb2e4379b728b01ec73fc0be8c58ff;p=friendica.git diff --git a/src/Module/Like.php b/src/Module/Like.php index ca38247508..727aa5ddfe 100644 --- a/src/Module/Like.php +++ b/src/Module/Like.php @@ -51,7 +51,7 @@ class Like extends BaseModule // @TODO: Replace with parameter from router $itemId = (($app->argc > 1) ? Strings::escapeTags(trim($app->argv[1])) : 0); - if (!Item::performActivity($itemId, $verb)) { + if (!Item::performActivity($itemId, $verb, local_user())) { throw new HTTPException\BadRequestException(); }