summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-07-28 23:36:57 +0400
committerAndrew Dolgov <[email protected]>2013-07-28 23:36:57 +0400
commitcdfc41149d25ae62c619c4d29697fa807a679eae (patch)
tree83cbf23fcea65143a849941816c496892446a67e
parentac57b9dd19333db9bed34bc70d945568292b77de (diff)
get_article_labels: cache converted label ids
-rw-r--r--include/labels.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/labels.php b/include/labels.php
index c2a48a338..6e0bfcb98 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);
}