1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-23 04:01:28 +00:00

get_article_labels: cache converted label ids

This commit is contained in:
Andrew Dolgov
2013-07-28 23:36:57 +04:00
parent ac57b9dd19
commit cdfc41149d

View File

@@ -42,7 +42,8 @@
ORDER BY caption"); ORDER BY caption");
while ($line = db_fetch_assoc($result)) { while ($line = db_fetch_assoc($result)) {
$rk = array($line["label_id"], $line["caption"], $line["fg_color"], $rk = array(label_to_feed_id($line["label_id"]),
$line["caption"], $line["fg_color"],
$line["bg_color"]); $line["bg_color"]);
array_push($rv, $rk); array_push($rv, $rk);
} }