mirror of
https://github.com/friendica/friendica
synced 2024-11-19 11:43:41 +00:00
bugfix - mixed fields with condition
This commit is contained in:
parent
dd333c76f8
commit
3261ffbd99
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue