From 4606eb1ec254de92e373eec0c6c4415cb7f35eef Mon Sep 17 00:00:00 2001 From: Eduard Duran Date: Wed, 3 May 2023 19:11:03 +0200 Subject: [PATCH] Fixed bug in if assignment --- src/nusoap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nusoap.php b/src/nusoap.php index 3e9a60c..9fadfe3 100755 --- a/src/nusoap.php +++ b/src/nusoap.php @@ -7691,7 +7691,7 @@ function call($operation, $params = array(), $namespace = 'http://tempuri.org', // serialize $payload = ''; - if ($use = 'literal wrapped') { + if ($use == 'literal wrapped') { // 'literal wrapped' is only sensible (and defined) for 'document'. if ($style == 'document') { $usewrapped = true;