diff --git a/src/mibew/libs/classes/Mibew/Plugin/PluginInfo.php b/src/mibew/libs/classes/Mibew/Plugin/PluginInfo.php index 7cc42bf7..8845637f 100644 --- a/src/mibew/libs/classes/Mibew/Plugin/PluginInfo.php +++ b/src/mibew/libs/classes/Mibew/Plugin/PluginInfo.php @@ -268,7 +268,7 @@ class PluginInfo // Check exact version of the library $version_constrain = new VersionExpression($required_version); - if (!$version_constrain->satisfiedBy(new Version($system_info[$lib], true))) { + if (!$version_constrain->satisfiedBy(new Version(preg_replace('/~/', '-', $system_info[$lib]), true))) { return true; } }