summaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/index.php b/api/index.php
index 9d1a962dc..60753e9ca 100644
--- a/api/index.php
+++ b/api/index.php
@@ -149,7 +149,7 @@
/* Labels */
if (!$cat_id || $cat_id == -2) {
- $counters = getLabelCounters($link, false, true);
+ $counters = getLabelCounters($link, true);
foreach (array_keys($counters) as $id) {