Ver Fonte

new dns helper class

andre há 6 meses atrás
pai
commit
909505214e
1 ficheiros alterados com 2 adições e 2 exclusões
  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);
         $addon = ServiceLocator::call(Config::class);
         $productManager = new ProductManager();
         $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 = [
         $vars = [
             'assetsURL'                => BuildUrl::getAssetsURL(),
             'assetsURL'                => BuildUrl::getAssetsURL(),