Fixed version check condition

This commit is contained in:
Cüneyt Şentürk 2023-01-11 12:41:36 +03:00
parent a2aee0b031
commit 70a7cadf59

View File

@ -99,7 +99,7 @@ class Updates extends Controller
$installed = $module->get('version');
if ($installed >= $version) {
if (version_compare($installed, $version, '>=')) {
flash(trans('modules.warning.latest_version', ['module' => $name]))->warning()->important();
return $this->check();