]> git.mxchange.org Git - friendica.git/commitdiff
Issue 6100: The AS object should be fetchable for every original post
authorMichael <heluecht@pirati.ca>
Sat, 10 Nov 2018 23:56:11 +0000 (23:56 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 10 Nov 2018 23:56:11 +0000 (23:56 +0000)
src/Module/Objects.php

index d51d5785a5b42f1b1518b92dfeb8aff0b7a739b1..e6dfb6a28e829f8ffdeaeef926d600ce994f7b92 100644 (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);
                }