diff options
Diffstat (limited to 'ext/xmlrpc/xmlrpc-epi-php.c')
-rw-r--r-- | ext/xmlrpc/xmlrpc-epi-php.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/xmlrpc/xmlrpc-epi-php.c b/ext/xmlrpc/xmlrpc-epi-php.c index 50bc435148..07ba3bf583 100644 --- a/ext/xmlrpc/xmlrpc-epi-php.c +++ b/ext/xmlrpc/xmlrpc-epi-php.c @@ -1030,7 +1030,12 @@ PHP_FUNCTION(xmlrpc_server_call_method) WRONG_PARAM_COUNT; } /* user output options */ - set_output_options(&out, *output_opts); + if (argc == 3) { + set_output_options(&out, NULL); + } + else { + set_output_options(&out, *output_opts); + } server = zend_list_find(Z_LVAL_PP(handle), &type); |