diff --git a/src/Whmcs.php b/src/Whmcs.php index 3aa2177..8c99423 100644 --- a/src/Whmcs.php +++ b/src/Whmcs.php @@ -60,6 +60,6 @@ public function processResponse($response) } public function __call($function, array $arguments=[]) { - return call_user_func_array([$this, 'execute'], [$function, $arguments]); + return call_user_func_array([$this, 'execute'], [$function, $arguments[0]]); } }