]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Like.php
Added new field to the test data
[friendica.git] / src / Module / Like.php
index a85044714f582f77718d1ab7b937585f88094762..c926012f18d7687c60fc21e07888dd9953bf3641 100644 (file)
@@ -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();
                }