From b97465c8d4b2d96978ec05a96e329ce654e7a215 Mon Sep 17 00:00:00 2001 From: fredtempez Date: Sat, 12 Jun 2021 19:30:04 +0200 Subject: [PATCH] appel de update sur une ligne --- core/core.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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']);