diff --git a/functions.php b/functions.php index 9f3505f93..e9134328c 100644 --- a/functions.php +++ b/functions.php @@ -4694,6 +4694,8 @@ if ($subop == "undefined") $subop = ""; + $subop_split = split(":", $subop); + if ($subop == "CatchupSelected") { $ids = split(",", db_escape_string($_GET["ids"])); $cmode = sprintf("%d", $_GET["cmode"]); @@ -4715,6 +4717,11 @@ } } + if ($subop_split[0] == "MarkAllReadGR") { + catchup_feed($link, $subop_split[1], false); + } + + if ($feed_id > 0) { $result = db_query($link, "SELECT id FROM ttrss_feeds WHERE id = '$feed' LIMIT 1"); @@ -4921,16 +4928,20 @@ if (defined('_VFEED_GROUP_BY_FEED')) { if ($line["feed_title"] != $cur_feed_title) { + + $cur_feed_title = $line["feed_title"]; + /* print "