diff options
author | Andrew Dolgov <[email protected]> | 2013-07-28 23:36:57 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-07-28 23:36:57 +0400 |
commit | cdfc41149d25ae62c619c4d29697fa807a679eae (patch) | |
tree | 83cbf23fcea65143a849941816c496892446a67e /include/labels.php | |
parent | ac57b9dd19333db9bed34bc70d945568292b77de (diff) |
get_article_labels: cache converted label ids
Diffstat (limited to 'include/labels.php')
-rw-r--r-- | include/labels.php | 3 |
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); } |