From 0ef32f48b26f94b041977730bf00fe2750e4ad25 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 11 Oct 2012 12:46:33 +0400 Subject: unify child category counter display; remove include_children control --- include/functions.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'include/functions.php') diff --git a/include/functions.php b/include/functions.php index 446e474a4..c03fd9975 100644 --- a/include/functions.php +++ b/include/functions.php @@ -1413,8 +1413,7 @@ } $cv = array("id" => $line["cat_id"], "kind" => "cat", - "child_counter" => $child_counter, - "counter" => $line["unread"]); + "counter" => $line["unread"] + $child_counter); array_push($ret_arr, $cv); } @@ -2124,7 +2123,6 @@ $params["icons_url"] = ICONS_URL; $params["cookie_lifetime"] = SESSION_COOKIE_LIFETIME; - $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"); -- cgit v1.2.3