1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

change counter.cat and counter.tag to counter.kind

This commit is contained in:
Andrew Dolgov
2010-11-05 16:38:55 +03:00
parent 2abc7af064
commit 8acc449c6b
2 changed files with 5 additions and 5 deletions

View File

@@ -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);