From 25237aea4371cfa3096e525aed25c432ca067190 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 27 Nov 2013 21:54:27 +0400 Subject: [PATCH] api: fix getLabels never returning existing checked labels correctly --- classes/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/api.php b/classes/api.php index 0b5757a6..e3fcc8d3 100644 --- a/classes/api.php +++ b/classes/api.php @@ -427,7 +427,7 @@ class API extends Handler { $checked = false; foreach ($article_labels as $al) { - if ($al[0] == $line['id']) { + if (feed_to_label_id($al[0]) == $line['id']) { $checked = true; break; } -- 2.39.5