Fix what's being passed in Plesk (#1031)

The xml was never being sent to the server which resulted in an error.
This commit is contained in:
Joseph Cox authored and GitHub committed 2021-09-16 18:13:30 -07:00
1 parent 8fa2aad761
commit 318faeb9fc
1 file changed
+1 -1
+1 -1
View File
@@ -591,7 +591,7 @@ class Server_Manager_Plesk extends Server_Manager
curl_setopt ($ch, CURLOPT_URL, $this->getLoginUrl());
curl_setopt ($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt ($ch, CURLOPT_POST, 1);
curl_setopt ($ch, CURLOPT_POSTFIELDS, '$params');
curl_setopt ($ch, CURLOPT_POSTFIELDS, $xml);
$result = curl_exec($ch);