From 5e13ee14285dcb9a34e16af85c31a9d042abbff1 Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Sun, 31 Mar 2002 01:45:36 +0000 Subject: [PATCH] * oops, config object was copied * call parameters were not passed on to xmlrpc_encode_request() --- pear/PEAR/Remote.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pear/PEAR/Remote.php b/pear/PEAR/Remote.php index 1f20db6508..482ff88dde 100644 --- a/pear/PEAR/Remote.php +++ b/pear/PEAR/Remote.php @@ -38,7 +38,7 @@ class PEAR_Remote extends PEAR function PEAR_Remote(&$config) { $this->PEAR(); - $this->config = $config; + $this->config = &$config; } // }}} @@ -50,6 +50,8 @@ class PEAR_Remote extends PEAR 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"); -- 2.50.1