From 3261ffbd995bd4140e7b818560cc018c85fe9ba3 Mon Sep 17 00:00:00 2001 From: Philipp Holzer Date: Sun, 3 Mar 2019 13:59:22 +0100 Subject: [PATCH] bugfix - mixed fields with condition --- src/Core/NotificationsManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Core/NotificationsManager.php b/src/Core/NotificationsManager.php index 4c6b932deb..42abc31604 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]; }