Explorar el Código

new dns helper class

andre hace 7 meses
padre
commit
909505214e
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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(),