diff options
author | Andrew Dolgov <[email protected]> | 2013-11-27 21:54:27 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-11-27 21:54:27 +0400 |
commit | 25237aea4371cfa3096e525aed25c432ca067190 (patch) | |
tree | c197dcc2bfe5f1605ca537648bde06c49a6ef7d0 /classes | |
parent | 21bb3c064afe1ec043a45ad0a6026ddd9e75f152 (diff) |
api: fix getLabels never returning existing checked labels correctly
Diffstat (limited to 'classes')
-rw-r--r-- | classes/api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/api.php b/classes/api.php index 0b5757a6b..e3fcc8d3d 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; } |