mirror of
https://github.com/friendica/friendica
synced 2025-09-04 20:09:55 +02:00
'mark seen' not getting all msgs on profile page
This commit is contained in:
parent
db60d6d78f
commit
22cf6b3fe6
2 changed files with 10 additions and 8 deletions
|
@ -168,7 +168,7 @@ function profile_content(&$a, $update = 0) {
|
|||
// Oh - while we're here... reset the Unseen messages
|
||||
|
||||
$r = q("UPDATE `item` SET `unseen` = 0
|
||||
WHERE `type` != 'remote' AND `unseen` = 1 AND `uid` = %d",
|
||||
WHERE `wall` = 1 AND `unseen` = 1 AND `uid` = %d",
|
||||
intval($_SESSION['uid'])
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue