Browse Source

bugfix - mixed fields with condition

pull/6923/head
Philipp Holzer 3 years ago
committed by Hypolite Petovan
parent
commit
3261ffbd99
  1. 2
      src/Core/NotificationsManager.php

2
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];
}

Loading…
Cancel
Save