api: fix getLabels never returning existing checked labels correctly

master
Andrew Dolgov 11 years ago
parent 21bb3c064a
commit 25237aea43

@ -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;
}

Loading…
Cancel
Save