From 12e55b9017fe02824d52ef8639de11356ae2d4d4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 29 Dec 2009 18:03:16 +0300 Subject: [PATCH] view: set feed_id to 0 when it is undefined --- viewfeed.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/viewfeed.js b/viewfeed.js index 22371cf9..d7962042 100644 --- a/viewfeed.js +++ b/viewfeed.js @@ -457,9 +457,10 @@ function article_callback2(transport, id, feed_id) { } } -function view(id, feed_id, skip_history) { - +function view(id, feed_id) { try { + if (!feed_id) feed_id = 0; + debug("loading article: " + id + "/" + feed_id); if (offline_mode) return view_offline(id, feed_id); -- 2.39.5