Fixed version check condition
This commit is contained in:
parent
a2aee0b031
commit
70a7cadf59
@ -99,7 +99,7 @@ class Updates extends Controller
|
|||||||
|
|
||||||
$installed = $module->get('version');
|
$installed = $module->get('version');
|
||||||
|
|
||||||
if ($installed >= $version) {
|
if (version_compare($installed, $version, '>=')) {
|
||||||
flash(trans('modules.warning.latest_version', ['module' => $name]))->warning()->important();
|
flash(trans('modules.warning.latest_version', ['module' => $name]))->warning()->important();
|
||||||
|
|
||||||
return $this->check();
|
return $this->check();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user