Commit 9d595e15 authored by Benni Mack's avatar Benni Mack
Browse files

[BUGFIX] Use sprintf

parent f93eaa7d
Pipeline #10002 failed with stages
in 2 minutes and 57 seconds
......@@ -148,7 +148,7 @@ class SoapEndpoint implements MiddlewareInterface
['Content-Type' => 'text/xml; charset=utf-8']
);
$response->getBody()->rewind();
$response->getBody()->write($faultStringXmlTemplate);
$response->getBody()->write(sprintf($faultStringXmlTemplate, $e->getCode(), $e->getMessage()));
return $response;
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment