]> git.wh0rd.org Git - tt-rss.git/commitdiff
block ccache updates in viewfeed when is_cat = 1
authorAndrew Dolgov <fox@madoka.spb.ru>
Sat, 17 Jan 2009 12:22:48 +0000 (13:22 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Sat, 17 Jan 2009 12:22:48 +0000 (13:22 +0100)
backend.php

index 028ca2ad008e4f1b582a3e3305441b65af8ef758..28a3eba261c8df9adeec9f7cb000f149a50f2c2b 100644 (file)
                        $csync = $_GET["csync"];
                        $order_by = db_escape_string($_GET["order_by"]);
 
-                       ccache_update($link, $feed, $_SESSION["uid"], $cat_view);
+                       if (!$cat_view) {
+                               ccache_update($link, $feed, $_SESSION["uid"], $cat_view);
+                       }
 
                        set_pref($link, "_DEFAULT_VIEW_MODE", $view_mode);
                        set_pref($link, "_DEFAULT_VIEW_LIMIT", $limit);