block ccache updates in viewfeed when is_cat = 1

This commit is contained in:
Andrew Dolgov 2009-01-17 13:22:48 +01:00
parent 6c2a9b9ef7
commit 1be2f3b6ec
1 changed files with 3 additions and 1 deletions

View File

@ -270,7 +270,9 @@
$csync = $_GET["csync"]; $csync = $_GET["csync"];
$order_by = db_escape_string($_GET["order_by"]); $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_MODE", $view_mode);
set_pref($link, "_DEFAULT_VIEW_LIMIT", $limit); set_pref($link, "_DEFAULT_VIEW_LIMIT", $limit);