X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fxmlrpc.inc;h=79dbafbc3b0646d3a103b9fcb5780cf7ebb2c6f7;hb=cc1e3919b9fe640926cb88670e2cc9fb63416148;hp=5deade365919b5d0db68346dbe2a0cfe3989fe94;hpb=915b23d9a60b19901b5488f56c7d5439c5895983;p=plcapi.git diff --git a/lib/xmlrpc.inc b/lib/xmlrpc.inc index 5deade3..79dbafb 100644 --- a/lib/xmlrpc.inc +++ b/lib/xmlrpc.inc @@ -1350,7 +1350,7 @@ } // omit port if 80 - $port = ($port == '80') ? '' : (':' . $port); + $port = ($port == 80) ? '' : (':' . $port); $op= 'POST ' . $uri. " HTTP/1.0\r\n" . 'User-Agent: ' . $this->user_agent . "\r\n" .