Ver código fonte

try to create a service code

andre 3 anos atrás
pai
commit
78f3215e9b
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      serviceAddon.php

+ 1 - 1
serviceAddon.php

@@ -26,7 +26,7 @@ function serviceAddon_CreateAccount(array $params) {
         __FUNCTION__,
         $params,
         'Debug',
-        $whmcs->get_req_var('name')
+        $params['model']->name
     );
 
     if(empty($params['name'])) {