kopia lustrzana https://github.com/friendica/friendica
Issue 6100: The AS object should be fetchable for every original post
rodzic
d4a02dc314
commit
8844bb690d
|
@ -27,7 +27,7 @@ class Objects extends BaseModule
|
||||||
$a->internalRedirect(str_replace('objects/', 'display/', $a->query_string));
|
$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)) {
|
if (!DBA::isResult($item)) {
|
||||||
System::httpExit(404);
|
System::httpExit(404);
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue