From: gggeek Date: Mon, 16 Jan 2023 09:36:31 +0000 (+0000) Subject: oops X-Git-Tag: 4.10.0~157 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=c1a518535e30d6e71e83d9c0d4975ea914ab0178;p=plcapi.git oops --- diff --git a/src/Server.php b/src/Server.php index c69d3fe2..e5871f08 100644 --- a/src/Server.php +++ b/src/Server.php @@ -625,7 +625,7 @@ class Server return new Response(0, $e->getCode(), $e->getMessage()); } - if ($xmlRpcParser->_xh['isf'] == 2) { + if ($xmlRpcParser->_xh['isf'] == 3) { // (BC) we return XML error as a faultCode preg_match('/^XML error ([0-9]+)/', $xmlRpcParser->_xh['isf_reason'], $matches); return new Response(