From 9798b2b4c659ba7f626c5cdad68453def0f01fc2 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 5 Nov 2010 18:03:26 +0300 Subject: api: rewrite getCounters to use getAllCounters() --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions.php') diff --git a/functions.php b/functions.php index f806136df..3223a55eb 100644 --- a/functions.php +++ b/functions.php @@ -2480,7 +2480,7 @@ /* Special case: NULL category doesn't actually exist in the DB */ - $cv = array("id" => 0, "cat" => true, + $cv = array("id" => 0, "kind" => "cat", "counter" => ccache_find($link, 0, $_SESSION["uid"], true)); array_push($ret_arr, $cv); -- cgit v1.2.3