mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-10 07:44:32 +02:00
It has to be "selectFirst"
This commit is contained in:
parent
1f9f321d54
commit
00ef29fb97
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class Register
|
||||||
*/
|
*/
|
||||||
public static function getPendingForUser(int $uid)
|
public static function getPendingForUser(int $uid)
|
||||||
{
|
{
|
||||||
return DBA::select('pending-view', [], ['uid' => $uid, 'self' => true]);
|
return DBA::selectFirst('pending-view', [], ['uid' => $uid, 'self' => true]);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue