Merge pull request #534 from zzottel/master
Mark items read on viewing filtered network page
This commit is contained in:
commit
cc20276eb5
|
@ -782,9 +782,10 @@ function network_content(&$a, $update = 0) {
|
||||||
intval(local_user())
|
intval(local_user())
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
// if($update_unseen)
|
if($update_unseen)
|
||||||
// $r = q("UPDATE `item` SET `unseen` = 0 $update_unseen");
|
$r = q("UPDATE `item` SET `unseen` = 0 $update_unseen");
|
||||||
|
}
|
||||||
|
|
||||||
// Set this so that the conversation function can find out contact info for our wall-wall items
|
// Set this so that the conversation function can find out contact info for our wall-wall items
|
||||||
$a->page_contact = $a->contact;
|
$a->page_contact = $a->contact;
|
||||||
|
|
Loading…
Reference in a new issue