diff options
author | Andrew Dolgov <[email protected]> | 2010-11-05 16:38:55 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-05 16:38:55 +0300 |
commit | 8acc449c6bb2c0e185a6a82a6e29c06c0b8185e0 (patch) | |
tree | 2e78874fc149edb71cdccf005ae20a409d6cdb8c /functions.php | |
parent | 2abc7af064862f16060ec61ad36cedf5433f35e7 (diff) |
change counter.cat and counter.tag to counter.kind
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/functions.php b/functions.php index e39a04ca4..be3937642 100644 --- a/functions.php +++ b/functions.php @@ -2476,7 +2476,7 @@ /* Labels category */ - $cv = array("id" => -2, "cat" => true, + $cv = array("id" => -2, "kind" => "cat", "counter" => getCategoryUnread($link, -2)); array_push($ret_arr, $cv); @@ -2491,7 +2491,7 @@ while ($line = db_fetch_assoc($result)) { $line["cat_id"] = (int) $line["cat_id"]; - $cv = array("id" => $line["cat_id"], "cat" => true, + $cv = array("id" => $line["cat_id"], "kind" => "cat", "counter" => $line["unread"]); array_push($ret_arr, $cv); @@ -2792,7 +2792,7 @@ $tag = htmlspecialchars($tag); $cv = array("id" => $tag, - "tag" => true, + "kind" => "tag", "counter" => $unread); array_push($ret_arr, $cv); |