view: set feed_id to 0 when it is undefined

This commit is contained in:
Andrew Dolgov 2009-12-29 18:03:16 +03:00
parent 59e15af458
commit 12e55b9017
1 changed files with 3 additions and 2 deletions

View File

@ -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);