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

index ef7802bf0960ac5bce737e70c921881f28b42e89..b7a6d5c46013f5ff28ee54f0c7e80bd97188e5ec 100644 (file)
                                                        unread = true AND
                                                        ttrss_user_entries.owner_uid = '$owner_uid')
                                                WHERE ttrss_labels2.owner_uid = '$owner_uid'
-                                       GROUP BY id");
+                                       GROUP BY id, caption");
                
                        while ($line = db_fetch_assoc($result)) {