mirror of
https://github.com/friendica/friendica
synced 2025-04-22 13:10:11 +00:00
Merge pull request #8366 from annando/issue-8321
Issue 8321: Follow items now work again
This commit is contained in:
commit
1afb49f412
5 changed files with 17 additions and 145 deletions
|
@ -50,7 +50,7 @@ class Like extends BaseModule
|
|||
// @TODO: Replace with parameter from router
|
||||
$itemId = (($app->argc > 1) ? Strings::escapeTags(trim($app->argv[1])) : 0);
|
||||
|
||||
if (!Item::performLike($itemId, $verb)) {
|
||||
if (!Item::performActivity($itemId, $verb)) {
|
||||
throw new HTTPException\BadRequestException();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue