diff options
author | Alan Knowles <alan_k@php.net> | 2002-06-14 14:55:28 +0000 |
---|---|---|
committer | Alan Knowles <alan_k@php.net> | 2002-06-14 14:55:28 +0000 |
commit | 78fffcce0ee5a327e1222fed64bcf3cfb9d2256d (patch) | |
tree | a7d3b07fb52341f759fa39ad30cd4cfa25908cd5 /pear/PEAR/Remote.php | |
parent | 7e44ab0308d1606f2b3e1a24fa9f256c39ef8cc4 (diff) | |
download | php-git-78fffcce0ee5a327e1222fed64bcf3cfb9d2256d.tar.gz |
Fixed XML RPC sending of args - lets try and get the right tag :)
Diffstat (limited to 'pear/PEAR/Remote.php')
-rw-r--r-- | pear/PEAR/Remote.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pear/PEAR/Remote.php b/pear/PEAR/Remote.php index 43a5af8618..eea8b919f9 100644 --- a/pear/PEAR/Remote.php +++ b/pear/PEAR/Remote.php @@ -63,7 +63,9 @@ class PEAR_Remote extends PEAR $server_host = $this->config->get('master_server'); $username = $this->config->get('username'); $password = $this->config->get('password'); - $f = new XML_RPC_Message($method, $this->_encode($args)); + $eargs = array(); + foreach($args as $arg) $eargs[] = $this->_encode($arg); + $f = new XML_RPC_Message($method, $eargs); $c = new XML_RPC_Client('/xmlrpc.php', $server_host, 80); if ($username && $password) { $c->setCredentials($username, $password); @@ -262,4 +264,4 @@ class PEAR_Remote extends PEAR } -?>
\ No newline at end of file +?> |