properly select categories which have the same numeric ID as existing feeds

This commit is contained in:
Andrew Dolgov 2009-01-16 15:44:10 +01:00
parent ad0056a8b2
commit 73241803c7

View file

@ -214,7 +214,10 @@ function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
queue: { position:'end', scope: 'FEEDL-' + feed, limit: 1 } } );
} */
var unread_ctr = get_feed_unread(feed);
var unread_ctr = -1;
if (!is_cat) unread_ctr = get_feed_unread(feed);
var cache_check = false;
if (unread_ctr != -1 && !page_offset && !force_nocache && !subop) {