浏览代码

try to create a service code

andre 3 年之前
父节点
当前提交
4fdbd7f705
共有 1 个文件被更改,包括 1 次插入1 次删除
  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'])) {