summaryrefslogtreecommitdiff
path: root/classes/labels.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2017-07-30 11:55:30 +0300
committerAndrew Dolgov <[email protected]>2017-07-30 11:55:30 +0300
commit5e78b0c253d56d85b0339636c8793f93c835b792 (patch)
tree6760f190afff1642331528217c395b18ede5298a /classes/labels.php
parent94df90a7ebd41155fb6c467624021f73128a27cf (diff)
do not base headlines label context submenu on feed tree labels category
Diffstat (limited to 'classes/labels.php')
-rw-r--r--classes/labels.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/labels.php b/classes/labels.php
index 2ca623a32..e19a2967e 100644
--- a/classes/labels.php
+++ b/classes/labels.php
@@ -36,7 +36,7 @@ class Labels
static function get_all_labels($owner_uid) {
$rv = array();
- $result = db_query("SELECT fg_color, bg_color, caption FROM ttrss_labels2 WHERE owner_uid = " . $owner_uid);
+ $result = db_query("SELECT id, fg_color, bg_color, caption FROM ttrss_labels2 WHERE owner_uid = " . $owner_uid);
while ($line = db_fetch_assoc($result)) {
array_push($rv, $line);