]> git.wh0rd.org Git - tt-rss.git/commitdiff
getLabelCounters: psql fix
authorAndrew Dolgov <fox@bah.spb.su>
Sun, 18 Jan 2009 09:46:16 +0000 (10:46 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sun, 18 Jan 2009 09:46:16 +0000 (10:46 +0100)
functions.php

index f18bdbce5fefb3c086087ceffcf759e4972681b8..cae25525fda9e3a7dd857a53822655b9d0d7737e 100644 (file)
                                                WHERE ttrss_feeds.id = feed_id AND
                                                        hidden = false AND                                              
                                                        ttrss_labels2.owner_uid = '$owner_uid'
-                                       GROUP BY id, caption");
+                                       GROUP BY ttrss_labels2.id, caption");
                
                        while ($line = db_fetch_assoc($result)) {