mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-06-26 03:30:48 +03:00
fix сравнения совместимости плагина с версией LS
This commit is contained in:
parent
104774e065
commit
0caf50c68e
|
@ -155,7 +155,7 @@ class ModulePlugin extends Module {
|
|||
* Проверяем совместимость с версией LS
|
||||
*/
|
||||
if(defined('LS_VERSION')
|
||||
and version_compare(LS_VERSION,$aPlugins[$sPlugin]['property']->requires->livestreet,'=<')) {
|
||||
and version_compare(LS_VERSION,(string)$aPlugins[$sPlugin]['property']->requires->livestreet,'<')) {
|
||||
$this->Message_AddError(
|
||||
$this->Lang_Get(
|
||||
'plugins_activation_version_error',
|
||||
|
|
Loading…
Reference in a new issue