appel de update sur une ligne

This commit is contained in:
Fred Tempez 2021-06-12 19:30:04 +02:00
parent 7a5c8012d0
commit b97465c8d4

View File

@ -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']);