api: fix getLabels never returning existing checked labels correctly
This commit is contained in:
parent
21bb3c064a
commit
25237aea43
1 changed files with 1 additions and 1 deletions
|
@ -427,7 +427,7 @@ class API extends Handler {
|
||||||
|
|
||||||
$checked = false;
|
$checked = false;
|
||||||
foreach ($article_labels as $al) {
|
foreach ($article_labels as $al) {
|
||||||
if ($al[0] == $line['id']) {
|
if (feed_to_label_id($al[0]) == $line['id']) {
|
||||||
$checked = true;
|
$checked = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue