X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fnotifications.php;h=c7f8e1bbd912e9cab3e97d9a1db9d87c6ca76aa9;hb=759015e5fd3ec4a5a9c19203dd18f72144127f26;hp=9c14737f7ffb3e6c36718ab0370661f7d03b6dc6;hpb=d3c54438df2a38d50f21d1ba7fb6c863013f592e;p=friendica.git diff --git a/mod/notifications.php b/mod/notifications.php index 9c14737f7f..c7f8e1bbd9 100644 --- a/mod/notifications.php +++ b/mod/notifications.php @@ -233,7 +233,7 @@ function notifications_content(&$a) { `item`.`author-link`, `item`.`author-avatar`, `item`.`created`, `item`.`object` as `object`, `pitem`.`author-name` as `pname`, `pitem`.`author-link` as `plink` FROM `item` INNER JOIN `item` as `pitem` ON `pitem`.`id`=`item`.`parent` - WHERE `item`.`unseen` = 1 AND `item`.`visible` = 1 AND `pitem`.`parent` != 0 + WHERE `item`.`unseen` = 1 AND `item`.`visible` = 1 AND `pitem`.`parent` != 0 AND `item`.`deleted` = 0 AND `item`.`uid` = %d AND `item`.`wall` = 0 ORDER BY `item`.`created` DESC" , intval(local_user()) );