From: x2000habouzit Date: Tue, 7 Sep 2004 20:02:05 +0000 (+0000) Subject: small corrections X-Git-Tag: xorg/old~1556 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=7d56ef57894fdb7b0ef507efa208e483f5c53053;p=platal.git small corrections --- diff --git a/include/xml-rpc.inc.php b/include/xml-rpc.inc.php index 7a4c052..b7f1850 100644 --- a/include/xml-rpc.inc.php +++ b/include/xml-rpc.inc.php @@ -1,5 +1,16 @@ 'php'); */ function xu_rpc_http_concise($params) { - $host = $uri = $port = $method = $args = $debug = null; + $output = $host = $uri = $port = $method = $args = $debug = null; $timeout = $user = $pass = $secure = $debug = null; extract($params); @@ -205,7 +195,7 @@ function xu_rpc_http_concise($params) { $uri = '/'; } if(!$output) { - $output = array(version => 'xmlrpc'); + $output = array('version' => 'xmlrpc'); } $response_buf = ""; @@ -224,16 +214,16 @@ function xu_rpc_http($method, $args, $host, $uri="/", $port=80, $debug=false, $timeout=0, $user=false, $pass=false, $secure=false) { return xu_rpc_http_concise( array( - method => $method, - args => $args, - host => $host, - uri => $uri, - port => $port, - debug => $debug, - timeout => $timeout, - user => $user, - pass => $pass, - secure => $secure + 'method' => $method, + 'args' => $args, + 'host' => $host, + 'uri' => $uri, + 'port' => $port, + 'debug' => $debug, + 'timeout' => $timeout, + 'user' => $user, + 'pass' => $pass, + 'secure' => $secure )); }