mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-19 21:51:28 +00:00
offline: fix infinite loop in sync
This commit is contained in:
@@ -841,7 +841,7 @@ function offline_download_parse(stage, transport) {
|
|||||||
function update_offline_data(stage) {
|
function update_offline_data(stage) {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
if (stage) stage = 0;
|
if (!stage) stage = 0;
|
||||||
|
|
||||||
if (!db || offline_mode || getInitParam("offline_enabled") != "1") return;
|
if (!db || offline_mode || getInitParam("offline_enabled") != "1") return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user