diff --git a/core/core.php b/core/core.php index fc1168aa..4a3243ce 100755 --- a/core/core.php +++ b/core/core.php @@ -332,8 +332,7 @@ class common { } // Mise à jour des données core - $zwii_version = intval(str_replace('.','',self::ZWII_VERSION)); - if( $this->getData(['core', 'dataVersion']) !== $zwii_version) include( 'core/include/update.inc.php'); + if( $this->getData(['core', 'dataVersion']) !== intval(str_replace('.','',self::ZWII_VERSION))) include( 'core/include/update.inc.php'); // Données de proxy $proxy = $this->getData(['config','proxyType']) . $this->getData(['config','proxyUrl']) . ':' . $this->getData(['config','proxyPort']);