* call parameters were not passed on to xmlrpc_encode_request()
function PEAR_Remote(&$config)
{
$this->PEAR();
- $this->config = $config;
+ $this->config = &$config;
}
// }}}
if (!extension_loaded("xmlrpc")) {
return $this->raiseError("xmlrpc support not loaded");
}
+ $params = func_get_args();
+ array_shift($params);
$method = str_replace("_", ".", $method);
$request = xmlrpc_encode_request($method, $params);
$server_host = $this->config->get("master_server");