sforkowany z mirror/friendica
Issue 8557: We have to fetch only a single row
rodzic
99ce487e1e
commit
1f9f321d54
|
@ -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]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Ładowanie…
Reference in New Issue