Skip to content

Commit

Permalink
Optim : Condition always evaluated to true at the point
Browse files Browse the repository at this point in the history
  • Loading branch information
s-renier-taonix-fr authored and f3l1x committed Feb 13, 2023
1 parent ef4e82e commit 68e13d9
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 @@ -8237,7 +8237,7 @@ function _getProxyClassCode($r)

return "echo \"$evalStr\";";
}
if ($this->endpointType == 'wsdl' && is_null($this->wsdl)) {
if (is_null($this->wsdl)) {
$this->loadWSDL();
if ($this->getError()) {
return "echo \"" . $this->getError() . "\";";
Expand Down

0 comments on commit 68e13d9

Please sign in to comment.