diff --git a/classes/feeds.php b/classes/feeds.php index be7886472..a3062565a 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 ac9c5372c..91f3b900e 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1,6 +1,6 @@