]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix adaptive vgroup view crashing
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 25 Mar 2013 12:50:56 +0000 (16:50 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Mon, 25 Mar 2013 12:50:56 +0000 (16:50 +0400)
include/functions.php

index 507df794461ece4f0d2a653c4260a82f60711c9f..b52531f6662a8fdd11fa3b13272d2acb62141bb9 100644 (file)
                                                $override_order = "unread DESC, $a_order_by";
                                        }
 
-                                       if (!$ignore_vfeed_group &&
+                                       if (!$ignore_vfeed_group && ($is_cat || $feed_id < 0) &&
                                                        get_pref($link, 'VFEED_GROUP_BY_FEED', $owner_uid)) {
 
                                                $override_order = "ttrss_feeds.title, $override_order";