fix : sync issu

This commit is contained in:
SajjadMahmoody
2026-04-19 11:29:57 +03:30
parent d657c48600
commit 95592aa510
6 changed files with 63 additions and 22 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ public function getTitle(): string
public function getPendingCount(): int
{
return SyncLog::changesSince((int) OsurgInitial::val('our_sync_cursor', 0))->count();
return SyncLog::changesSince(OsurgInitial::val('our_sync_cursor') ?: null)->count();
}
public function getLastSyncTime(): string