Skip to content

Commit

Permalink
Fix false comparison to allow empty SoapAction
Browse files Browse the repository at this point in the history
  • Loading branch information
IGedeon authored and Milan Felix Šulc committed Jul 16, 2019
1 parent d58fb0c commit 034d9ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nusoap.php
Original file line number Diff line number Diff line change
Expand Up @@ -4566,7 +4566,7 @@ function register($name, $in = array(), $out = array(), $namespace = false, $soa
}
if (false == $namespace) {
}
if (false == $soapaction) {
if (false === $soapaction) {
if (isset($_SERVER)) {
$SERVER_NAME = $_SERVER['SERVER_NAME'];
$SCRIPT_NAME = isset($_SERVER['PHP_SELF']) ? $_SERVER['PHP_SELF'] : $_SERVER['SCRIPT_NAME'];
Expand Down

0 comments on commit 034d9ae

Please sign in to comment.