mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:15:55 +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;
|
||||
foreach ($article_labels as $al) {
|
||||
if ($al[0] == $line['id']) {
|
||||
if (feed_to_label_id($al[0]) == $line['id']) {
|
||||
$checked = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user