Skip to content

Commit

Permalink
Update invokeMethod to support namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Gugiman authored and f3l1x committed May 16, 2017
1 parent 16dc22d commit 682c8e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/nusoap.php
Original file line number Diff line number Diff line change
Expand Up @@ -4104,6 +4104,10 @@ function invoke_method()
} else {
$this->debug("in invoke_method, class=$try_class not found");
}
} elseif (strlen($delim) > 0 && substr_count($this->methodname, $delim) > 1) {
$split = explode($delim, $this->methodname);
$method = array_pop($split);
$class = implode('\\', $split);
} else {
$try_class = '';
$this->debug("in invoke_method, no class to try");
Expand Down

0 comments on commit 682c8e7

Please sign in to comment.