Ver Fonte

new dns helper class

andre há 6 meses atrás
pai
commit
4f311d0b2b
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      core/Http/Response.php

+ 3 - 3
core/Http/Response.php

@@ -171,7 +171,7 @@ 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', 'templatevars']);
+        $params = $this->getWhmcsParamsByKeys(['domain', 'userid', 'serverhostname', 'hostingid']);
 
 
         $vars = [
         $vars = [
             'assetsURL'                => BuildUrl::getAssetsURL(),
             'assetsURL'                => BuildUrl::getAssetsURL(),
@@ -198,9 +198,9 @@ class Response extends SymfonyRespose
         logModuleCall(
         logModuleCall(
     		'kerioEmail',
     		'kerioEmail',
 	    	__FUNCTION__,
 	    	__FUNCTION__,
-            $params['templatevars'],
+            $params,
     		'Debug',
     		'Debug',
-	    	$productManager->get('acc_base')
+	    	$productManager
     	);
     	);
 
 
         try
         try