diff --git a/src/Core/NotificationsManager.php b/src/Core/NotificationsManager.php index 4c6b932de..42abc3160 100644 --- 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]; }