X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FProtocol%2FDFRN.php;h=2abdfe14869fc128a0911ecb8234f963b4f81ba4;hb=10395429a7d88a86b21230aa7719a4f1855778d1;hp=e8196172ebae7d4d8a3414881684a36e62d9eb56;hpb=264936100f06d95a3db7399a8d5a107c8169a7a8;p=friendica.git diff --git a/src/Protocol/DFRN.php b/src/Protocol/DFRN.php index e8196172eb..2abdfe1486 100644 --- a/src/Protocol/DFRN.php +++ b/src/Protocol/DFRN.php @@ -2177,7 +2177,7 @@ class DFRN if (($entrytype == DFRN::TOP_LEVEL) && !empty($importer['id'])) { // The filling of the the "contact" variable is done for legcy reasons // The functions below are partly used by ostatus.php as well - where we have this variable - $contact = Contact::select([], ['id' => $importer['id']]); + $contact = Contact::selectFirst([], ['id' => $importer['id']]); // Big question: Do we need these functions? They were part of the "consume_feed" function. // This function once was responsible for DFRN and OStatus.