From: Andrew Dolgov Date: Wed, 15 Aug 2012 05:11:43 +0000 (+0400) Subject: properly persist include_children X-Git-Tag: 1.6.0~159 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e07f89815b88139a5b0945bd89277eb6b36e8f5a;p=tt-rss.git properly persist include_children --- diff --git a/classes/feeds.php b/classes/feeds.php index be788647..a3062565 100644 --- a/classes/feeds.php +++ b/classes/feeds.php @@ -805,8 +805,7 @@ class Feeds extends Protected_Handler { set_pref($this->link, "_DEFAULT_VIEW_MODE", $view_mode); set_pref($this->link, "_DEFAULT_VIEW_LIMIT", $limit); set_pref($this->link, "_DEFAULT_VIEW_ORDER_BY", $order_by); - - $_SESSION["_DEFAULT_INCLUDE_CHILDREN"] = $include_children; + set_pref($this->link, "_DEFAULT_INCLUDE_CHILDREN", $include_children); if (!$cat_view && preg_match("/^[0-9][0-9]*$/", $feed)) { db_query($this->link, "UPDATE ttrss_feeds SET last_viewed = NOW() diff --git a/include/functions.php b/include/functions.php index ac9c5372..91f3b900 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1,6 +1,6 @@