offline: fix infinite loop in sync
This commit is contained in:
parent
673b99ca45
commit
c16694c848
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue