mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:45:56 +00:00
fix ccache_update() failure when called for labels
This commit is contained in:
@@ -270,7 +270,12 @@
|
||||
$csync = $_GET["csync"];
|
||||
$order_by = db_escape_string($_GET["order_by"]);
|
||||
|
||||
ccache_update($link, $feed, $_SESSION["uid"], $cat_view);
|
||||
/* Updating a label ccache means recalculating all of the caches
|
||||
* so for performance reasons we don't do that here */
|
||||
|
||||
if ($feed >= 0) {
|
||||
ccache_update($link, $feed, $_SESSION["uid"], $cat_view);
|
||||
}
|
||||
|
||||
set_pref($link, "_DEFAULT_VIEW_MODE", $view_mode);
|
||||
set_pref($link, "_DEFAULT_VIEW_LIMIT", $limit);
|
||||
|
||||
Reference in New Issue
Block a user