Skip to content

Commit a176b69

Browse files
author
Arthur Moore
committed
Fix WSDL_CACHE_WSDL not working
1 parent 781fdeb commit a176b69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AbstractSoapClientBase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public function initSoapClient(array $options)
6868
$wsdlOptions = [];
6969
$defaultWsdlOptions = static::getDefaultWsdlOptions();
7070
foreach ($defaultWsdlOptions as $optionName => $optionValue) {
71-
if (array_key_exists($optionName, $options) && !empty($options[$optionName])) {
71+
if (array_key_exists($optionName, $options)) {
7272
$wsdlOptions[str_replace(self::OPTION_PREFIX, '', $optionName)] = $options[$optionName];
7373
} elseif (!empty($optionValue)) {
7474
$wsdlOptions[str_replace(self::OPTION_PREFIX, '', $optionName)] = $optionValue;

0 commit comments

Comments
 (0)