offline: only force stage to 1 when cidt/cidb are present when stage != 0 (2)

This commit is contained in:
Andrew Dolgov 2009-02-15 23:45:29 +03:00
parent 4bb93547ec
commit 673b99ca45
1 changed files with 1 additions and 1 deletions

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