Skip to content

Commit 12c0322

Browse files
committed
fix version compare
1 parent f902f96 commit 12c0322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Jobs/CheckSiteHealth.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function handle(): void
6969
}
7070

7171
// Available version is not newer, exit
72-
if (version_compare($latestVersion, $this->site->cms_version, "<")) {
72+
if (version_compare($latestVersion, $this->site->cms_version, "<=")) {
7373
return;
7474
}
7575

0 commit comments

Comments
 (0)