From: Michael Date: Tue, 28 Apr 2020 21:13:37 +0000 (+0000) Subject: Issue 8557: We have to fetch only a single row X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1f9f321d54c2b5e774008616a5534d7012ff261e;p=friendica.git Issue 8557: We have to fetch only a single row --- diff --git a/src/Model/Register.php b/src/Model/Register.php index 5eb9a417ca..81551d2b9b 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::selectToArray('pending-view', [], ['uid' => $uid]); + return DBA::select('pending-view', [], ['uid' => $uid, 'self' => true]); } /**