mirror of
https://github.com/friendica/friendica
synced 2025-04-27 15:10:11 +00:00
Notifications do work now again
This commit is contained in:
parent
753b1e0f25
commit
2e0697c70e
2 changed files with 4 additions and 4 deletions
|
@ -563,7 +563,7 @@ class NotificationsManager extends BaseObject
|
|||
$sql_extra = "";
|
||||
|
||||
if (!$all) {
|
||||
$sql_extra = " AND `ignore` = 0 ";
|
||||
$sql_extra = " AND NOT `ignore` ";
|
||||
}
|
||||
|
||||
/// @todo Fetch contact details by "Contact::getDetailsByUrl" instead of queries to contact, fcontact and gcontact
|
||||
|
@ -578,8 +578,8 @@ class NotificationsManager extends BaseObject
|
|||
LEFT JOIN `contact` ON `contact`.`id` = `intro`.`contact-id`
|
||||
LEFT JOIN `gcontact` ON `gcontact`.`nurl` = `contact`.`nurl`
|
||||
LEFT JOIN `fcontact` ON `intro`.`fid` = `fcontact`.`id`
|
||||
WHERE `intro`.`uid` = %d $sql_extra AND `intro`.`blocked` = 0
|
||||
LIMIT %d, %d",
|
||||
WHERE `intro`.`uid` = ? $sql_extra AND `intro`.`blocked` = 0
|
||||
LIMIT ?, ?",
|
||||
intval($_SESSION['uid']),
|
||||
intval($start),
|
||||
intval($limit)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue