]> git.wh0rd.org Git - tt-rss.git/commitdiff
offline: only force stage to 1 when cidt/cidb are present when stage != 0 (2)
authorAndrew Dolgov <fox@bah.org.ru>
Sun, 15 Feb 2009 20:45:29 +0000 (23:45 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Sun, 15 Feb 2009 20:45:29 +0000 (23:45 +0300)
offline.js

index 9933e3d007ee93ff19f9a260505c29649f6116a1..7b7113168c68bb03c6fed81077b9732ba09b2b64 100644 (file)
@@ -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();