From: Andrew Dolgov Date: Sun, 28 Jul 2013 19:36:57 +0000 (+0400) Subject: get_article_labels: cache converted label ids X-Git-Tag: 1.10~63 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=cdfc41149d25ae62c619c4d29697fa807a679eae;p=tt-rss.git get_article_labels: cache converted label ids --- diff --git a/include/labels.php b/include/labels.php index c2a48a33..6e0bfcb9 100644 --- a/include/labels.php +++ b/include/labels.php @@ -42,7 +42,8 @@ ORDER BY caption"); 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"]); array_push($rv, $rk); }