https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99ce487
)
Issue 8557: We have to fetch only a single row
author
Michael
<heluecht@pirati.ca>
Tue, 28 Apr 2020 21:13:37 +0000
(21:13 +0000)
committer
Michael
<heluecht@pirati.ca>
Tue, 28 Apr 2020 21:13:37 +0000
(21:13 +0000)
src/Model/Register.php
patch
|
blob
|
history
diff --git
a/src/Model/Register.php
b/src/Model/Register.php
index
5eb9a41
..
81551d2
100644
(file)
--- 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
ToArray('pending-view', [], ['uid' => $uid
]);
+ return DBA::select
('pending-view', [], ['uid' => $uid, 'self' => true
]);
}
/**