From: Philipp Holzer Date: Sun, 3 Mar 2019 12:59:22 +0000 (+0100) Subject: bugfix - mixed fields with condition X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3261ffbd995bd4140e7b818560cc018c85fe9ba3;p=friendica.git bugfix - mixed fields with condition --- 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]; }