diff options
author | Andrew Dolgov <[email protected]> | 2012-08-15 09:11:43 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2012-08-15 09:11:43 +0400 |
commit | e07f89815b88139a5b0945bd89277eb6b36e8f5a (patch) | |
tree | ba7418bdd0876904fc92c4e441e8c5bf3978f408 /include/functions.php | |
parent | fbf85cf6467a12fce776475db97cf6dac808edf1 (diff) |
properly persist include_children
Diffstat (limited to 'include/functions.php')
-rw-r--r-- | include/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ <?php define('EXPECTED_CONFIG_VERSION', 25); - define('SCHEMA_VERSION', 93); + define('SCHEMA_VERSION', 94); mb_internal_encoding("UTF-8"); date_default_timezone_set('UTC'); @@ -2152,7 +2152,7 @@ $params["icons_url"] = ICONS_URL; $params["cookie_lifetime"] = SESSION_COOKIE_LIFETIME; - $params["default_include_children"] = $_SESSION["_DEFAULT_INCLUDE_CHILDREN"]; + $params["default_include_children"] = get_pref($link, "_DEFAULT_INCLUDE_CHILDREN"); $params["default_view_mode"] = get_pref($link, "_DEFAULT_VIEW_MODE"); $params["default_view_limit"] = (int) get_pref($link, "_DEFAULT_VIEW_LIMIT"); $params["default_view_order_by"] = get_pref($link, "_DEFAULT_VIEW_ORDER_BY"); |