From 891d033c97e61253a19758379c20916a7bdd2c67 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 28 Jul 2013 23:37:19 +0400 Subject: [PATCH] api: getLabels: return converted label ids --- classes/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/api.php b/classes/api.php index c1f4aa9f..e9ffc63d 100644 --- a/classes/api.php +++ b/classes/api.php @@ -430,7 +430,7 @@ class API extends Handler { } array_push($rv, array( - "id" => (int)$line['id'], + "id" => (int)label_to_feed_id($line['id']), "caption" => $line['caption'], "fg_color" => $line['fg_color'], "bg_color" => $line['bg_color'], -- 2.39.5