fixed module update issue

This commit is contained in:
Denis Duliçi 2022-01-25 10:07:09 +02:00
parent f30e5bd174
commit 70d5f6d656

View File

@ -97,7 +97,7 @@ class FinishUpdate extends Job
$class = '\Modules\\' . $module->getStudlyName() . str_replace('/', '\\', $path);
// Skip if listener is same or lower than old version
if (version_compare($class::VERSION, $this->old, '=<')) {
if (version_compare($class::VERSION, $this->old, '<=')) {
continue;
}