From: zottel Date: Tue, 13 Nov 2012 10:30:43 +0000 (+0100) Subject: Mark items read on filtered network page, but still keep the "mark everything read... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c4e4ee892e9ba04ad782098e707ecc2d04223cd0;p=friendica.git Mark items read on filtered network page, but still keep the "mark everything read" mechanism on viewing the unfiltered network page. --- diff --git a/mod/network.php b/mod/network.php index 28893dda7b..bbdd0130d7 100644 --- a/mod/network.php +++ b/mod/network.php @@ -782,9 +782,10 @@ function network_content(&$a, $update = 0) { intval(local_user()) ); } - -// if($update_unseen) -// $r = q("UPDATE `item` SET `unseen` = 0 $update_unseen"); + else { + if($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 $a->page_contact = $a->contact;