]> git.wh0rd.org Git - tt-rss.git/commitdiff
get_article_labels: cache converted label ids
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 28 Jul 2013 19:36:57 +0000 (23:36 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sun, 28 Jul 2013 19:36:57 +0000 (23:36 +0400)
include/labels.php

index c2a48a3389b50c1e10cf10f2eafff5d8797d2482..6e0bfcb987548a3806c4fa1232fea457b78a8f9c 100644 (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);
                }