Sfoglia il codice sorgente

try to create a service code

andre 3 anni fa
parent
commit
4fdbd7f705
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      serviceAddon.php

+ 1 - 1
serviceAddon.php

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