Browse Source

new dns helper class

andre 6 months ago
parent
commit
909505214e
1 changed files with 2 additions and 2 deletions
  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(),