mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 16:05:14 +02:00
Merge pull request #6801 from nupplaphil/issue/notification_wrong_redirect
Mixed fields with condition at NotificationManager
This commit is contained in:
commit
b66a9e270d
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ class NotificationsManager extends BaseObject
|
||||||
*/
|
*/
|
||||||
public function getByID($id)
|
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)) {
|
if (DBA::isResult($stmtNotify)) {
|
||||||
return $this->_set_extra([$stmtNotify])[0];
|
return $this->_set_extra([$stmtNotify])[0];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue