From: Andrew Dolgov Date: Sun, 28 Jul 2013 19:37:19 +0000 (+0400) Subject: api: getLabels: return converted label ids X-Git-Tag: 1.10~62 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=891d033c97e61253a19758379c20916a7bdd2c67;p=tt-rss.git api: getLabels: return converted label ids --- 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'],