From 8844bb690d08560f5e28c6a277dfc7d3fe8d3e93 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 10 Nov 2018 23:56:11 +0000 Subject: [PATCH] Issue 6100: The AS object should be fetchable for every original post --- src/Module/Objects.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Objects.php b/src/Module/Objects.php index d51d5785a5..e6dfb6a28e 100644 --- a/src/Module/Objects.php +++ b/src/Module/Objects.php @@ -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); } -- 2.39.5