From: Andrew Dolgov Date: Sun, 15 Feb 2009 20:45:29 +0000 (+0300) Subject: offline: only force stage to 1 when cidt/cidb are present when stage != 0 (2) X-Git-Tag: 1.3.1~9 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=673b99ca459f478a5f880843f1fb08f16a643163;p=tt-rss.git offline: only force stage to 1 when cidt/cidb are present when stage != 0 (2) --- diff --git a/offline.js b/offline.js index 9933e3d0..7b711316 100644 --- a/offline.js +++ b/offline.js @@ -858,7 +858,7 @@ function update_offline_data(stage) { query = query + "&cidt=" + offline_dl_max_id; query = query + "&cidb=" + offline_dl_min_id; - if (stage > 1) stage = 1; + if (stage > 0) stage = 1; } rs.close();