bugfix - mixed fields with condition

This commit is contained in:
Philipp Holzer 2019-03-03 13:59:22 +01:00
parent f377a0f6be
commit 247aea90d2
No known key found for this signature in database
GPG Key ID: 517BE60E2CE5C8A5
1 changed files with 1 additions and 1 deletions

View File

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