offline: fix infinite loop in sync

This commit is contained in:
Andrew Dolgov 2009-02-15 23:50:10 +03:00
parent 673b99ca45
commit c16694c848
1 changed files with 1 additions and 1 deletions

View 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;