oops
authorgggeek <giunta.gaetano@gmail.com>
Mon, 16 Jan 2023 09:36:31 +0000 (09:36 +0000)
committergggeek <giunta.gaetano@gmail.com>
Mon, 16 Jan 2023 09:36:31 +0000 (09:36 +0000)
src/Server.php

index c69d3fe..e5871f0 100644 (file)
@@ -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(