]> git.wh0rd.org Git - tt-rss.git/commitdiff
offline: fix infinite loop in sync
authorAndrew Dolgov <fox@bah.org.ru>
Sun, 15 Feb 2009 20:50:10 +0000 (23:50 +0300)
committerAndrew Dolgov <fox@bah.org.ru>
Sun, 15 Feb 2009 20:50:10 +0000 (23:50 +0300)
offline.js

index 7b7113168c68bb03c6fed81077b9732ba09b2b64..a509cebb02b84dadba6e5843e2199c4d10170b6d 100644 (file)
@@ -841,7 +841,7 @@ function offline_download_parse(stage, transport) {
 function update_offline_data(stage) {
        try {
 
-               if (stage) stage = 0;
+               if (!stage) stage = 0;
 
                if (!db || offline_mode || getInitParam("offline_enabled") != "1") return;