瀏覽代碼

new dns helper class

andre 7 月之前
父節點
當前提交
909505214e
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      core/Http/Response.php

+ 2 - 2
core/Http/Response.php

@@ -170,8 +170,8 @@ class Response extends SymfonyRespose
 
         $addon = ServiceLocator::call(Config::class);
         $productManager = new ProductManager();
-        $params = $this->getWhmcsParamsByKeys(['domain', 'userid', 'serverhostname', 'serviceid']);
-        $productManager->loadByHostingId($params['serviceid']);
+        $params = $this->getWhmcsParamsByKeys(['domain', 'userid', 'serverhostname', 'packageid']);
+        $productManager->loadByHostingId($params['packageid']);
 
         $vars = [
             'assetsURL'                => BuildUrl::getAssetsURL(),