X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FProtocol%2FRelay.php;h=d40ba5c3384447ae74d34d34b8b041588c9af7f3;hb=e2b8d5379b1ed0dc17bcf186c969b136c1f49b15;hp=c982e0bc291aad2dc2e57bd93049d1787c81bd69;hpb=a69c98e32fc5ce8d5247111a8ab6c30d6c3970f5;p=friendica.git diff --git a/src/Protocol/Relay.php b/src/Protocol/Relay.php index c982e0bc29..d40ba5c338 100644 --- a/src/Protocol/Relay.php +++ b/src/Protocol/Relay.php @@ -1,6 +1,6 @@ get("system", "relay_directly", false)) { // We distribute our stuff based on the parent to ensure that the thread will be complete - $parent = Item::selectFirst(['uri-id'], ['id' => $item_id]); + $parent = Post::selectFirst(['uri-id'], ['id' => $item_id]); if (!DBA::isResult($parent)) { return; }