From 5b675cdaa074135ed5b5ad0e886c0d03dae9f8a6 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Mon, 11 Dec 2017 16:28:16 +0100 Subject: [PATCH] Prefer number --- modules/soflexibilite/classes/SoFlexibiliteWebService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/soflexibilite/classes/SoFlexibiliteWebService.php b/modules/soflexibilite/classes/SoFlexibiliteWebService.php index a9843b39..e09a0971 100644 --- a/modules/soflexibilite/classes/SoFlexibiliteWebService.php +++ b/modules/soflexibilite/classes/SoFlexibiliteWebService.php @@ -44,7 +44,7 @@ class SoFlexibiliteWebService // Use local wsdl file - temporary method $useLocalWsdl = Configuration::get('SOFLEXIBILITE_WSDL_LOCAL'); - if ($useLocalWsdl === true) { + if ($useLocalWsdl == 1) { if (file_exists(realpath(__DIR__.'/../').'/wsdl/PointRetraitServiceWS-2.0.wsdl')) { $this->ws = realpath(__DIR__.'/../').'/wsdl/PointRetraitServiceWS-2.0.wsdl'; }