Commit 7d22a63f authored by MBoretto's avatar MBoretto

fix bug return 0 on broken updates

parent f284948f
......@@ -53,7 +53,7 @@ class ImportFromLog
if ($line_update_counter > 30) {
echo 'Something is wrong in the update format line: ' . ($line_counter - $line_update_counter) . "\n";
echo $update . "\n\n";
break;
return 0;
}
}
} catch (TelegramException $e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment