Prefer number

This commit is contained in:
Michael RICOIS 2017-12-11 16:28:16 +01:00
parent a1752d2d68
commit 5b675cdaa0

View File

@ -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';
}