1
1
Fork 0

Merge pull request #6110 from annando/issue-6100

Issue 6100: The AS object should be fetchable for every original post
This commit is contained in:
Hypolite Petovan 2018-11-10 20:57:07 -05:00 committed by GitHub
commit 094e5becca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ class Objects extends BaseModule
$a->internalRedirect(str_replace('objects/', 'display/', $a->query_string));
}
$item = Item::selectFirst(['id'], ['guid' => $a->argv[1], 'wall' => true, 'private' => false]);
$item = Item::selectFirst(['id'], ['guid' => $a->argv[1], 'origin' => true, 'private' => false]);
if (!DBA::isResult($item)) {
System::httpExit(404);
}