mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:45:56 +00:00
api: fix getLabels never returning existing checked labels correctly
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user