Show
Ignore:
Timestamp:
06/23/10 12:23:59 (2 years ago)
Author:
ort
Message:

fix сравнения совместимости плагина с версией LS

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/engine/modules/plugin/Plugin.class.php

    r939 r946  
    156156                                                 */ 
    157157                                                if(defined('LS_VERSION')  
    158                                                         and version_compare(LS_VERSION,$aPlugins[$sPlugin]['property']->requires->livestreet,'=<')) { 
     158                                                        and version_compare(LS_VERSION,(string)$aPlugins[$sPlugin]['property']->requires->livestreet,'<')) { 
    159159                                                                $this->Message_AddError( 
    160160                                                                        $this->Lang_Get(