Issue 5811: "objects" instead of "object"

This commit is contained in:
Michael 2018-10-02 20:12:38 +00:00
parent c02dea7b02
commit 518d461a8f
6 changed files with 6 additions and 6 deletions

View file

@ -24,7 +24,7 @@ class Object extends BaseModule
}
if (!ActivityPub::isRequest()) {
goaway(str_replace('object/', 'display/', $a->query_string));
goaway(str_replace('objects/', 'display/', $a->query_string));
}
$item = Item::selectFirst(['id'], ['guid' => $a->argv[1], 'wall' => true, 'private' => false]);