andre 7 сар өмнө
parent
commit
909505214e

+ 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(),