From c16694c84810e1a59da1a411e5c5aa385932f47d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 15 Feb 2009 23:50:10 +0300 Subject: [PATCH] offline: fix infinite loop in sync --- offline.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/offline.js b/offline.js index 7b711316..a509cebb 100644 --- a/offline.js +++ b/offline.js @@ -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; -- 2.39.5