diff options
Diffstat (limited to 'mod/profile.php')
-rw-r--r-- | mod/profile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/profile.php b/mod/profile.php index 340c96d86..634aec460 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -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']) ); |