viewfeed: properly define is_cat when necessary

This commit is contained in:
Andrew Dolgov 2010-11-11 13:59:33 +03:00
parent dd25b0c6cd
commit 7a707deb84
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ function viewNextFeedPage() {
function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) { function viewfeed(feed, subop, is_cat, subop_param, skip_history, offset) {
try { try {
if (is_cat == undefined) is_cat = false;
if (offline_mode) return viewfeed_offline(feed, subop, is_cat, subop_param, if (offline_mode) return viewfeed_offline(feed, subop, is_cat, subop_param,
skip_history, offset); skip_history, offset);