From 7a707deb84aea5837371d8e648e8b2c7453ee4e1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 11 Nov 2010 13:59:33 +0300 Subject: [PATCH] viewfeed: properly define is_cat when necessary --- feedlist.js | 1 + 1 file changed, 1 insertion(+) diff --git a/feedlist.js b/feedlist.js index b7565c2ca..3ae69d74a 100644 --- a/feedlist.js +++ b/feedlist.js @@ -63,6 +63,7 @@ function viewNextFeedPage() { function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) { try { + if (is_cat == undefined) is_cat = false; if (offline_mode) return viewfeed_offline(feed, subop, is_cat, subop_param, skip_history, offset);