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:
f377a0f
)
bugfix - mixed fields with condition
author
Philipp Holzer
<admin@philipp.info>
Sun, 3 Mar 2019 12:59:22 +0000
(13:59 +0100)
committer
Philipp Holzer
<admin@philipp.info>
Sun, 3 Mar 2019 12:59:22 +0000
(13:59 +0100)
src/Core/NotificationsManager.php
patch
|
blob
|
history
diff --git
a/src/Core/NotificationsManager.php
b/src/Core/NotificationsManager.php
index
4c6b932
..
42abc31
100644
(file)
--- a/
src/Core/NotificationsManager.php
+++ b/
src/Core/NotificationsManager.php
@@
-91,7
+91,7
@@
class NotificationsManager extends BaseObject
*/
public function getByID($id)
{
- $stmtNotify = DBA::selectFirst('notify', ['id' => $id, 'uid' => local_user()]);
+ $stmtNotify = DBA::selectFirst('notify', [
], [
'id' => $id, 'uid' => local_user()]);
if (DBA::isResult($stmtNotify)) {
return $this->_set_extra([$stmtNotify])[0];
}