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");
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);
}