From: Michael Date: Wed, 29 Apr 2020 01:40:59 +0000 (+0000) Subject: It has to be "selectFirst" X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=00ef29fb97c4bbf69a1e7272e0ec19711713a37b;p=friendica.git It has to be "selectFirst" --- diff --git a/src/Model/Register.php b/src/Model/Register.php index 81551d2b9b..f4d409bc32 100644 --- a/src/Model/Register.php +++ b/src/Model/Register.php @@ -56,7 +56,7 @@ class Register */ public static function getPendingForUser(int $uid) { - return DBA::select('pending-view', [], ['uid' => $uid, 'self' => true]); + return DBA::selectFirst('pending-view', [], ['uid' => $uid, 'self' => true]); } /**