mirror of
https://github.com/friendica/friendica
synced 2025-04-22 01:50:11 +00:00
AP Improvements for forums
This commit is contained in:
parent
e733055485
commit
bf7128b4b2
6 changed files with 86 additions and 56 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue