From 22cf6b3fe681af22b23de48610cb4801b742b04b Mon Sep 17 00:00:00 2001 From: Friendika Date: Fri, 20 May 2011 19:28:48 -0700 Subject: 'mark seen' not getting all msgs on profile page --- mod/profile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/profile.php') 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']) ); -- cgit v1.2.3