Ver Fonte

new dns helper class

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

+ 2 - 2
core/Http/Response.php

@@ -188,13 +188,13 @@ class Response extends SymfonyRespose
             'tagImageModule'           => $addon->getConfigValue('moduleIcon'),
             'isDebug'                  => (bool)((int)$addon->getConfigValue('debug', "0")),
             'errorPageDetails'         => $this->getErrorPageData($responseResolver),
-            'dnsvars'                  => DnsHelper::KerioEmailCheckDNS($this->getWhmcsParams())
+            'dnsvars'                  => DnsHelper::KerioEmailCheckDNS($this->getWhmcsParamByKey('domain'))
         ];
 
         logModuleCall(
     		'kerioEmail',
 	    	__FUNCTION__,
-		    $this->getWhmcsParams(),
+            $this->getWhmcsParamByKey('domain'),
     		'Debug',
 	    	$vars
     	);