andre 2 anni fa
parent
commit
e256fd085c
1 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 3 2
      api/KerioWhmcs.php

+ 3 - 2
api/KerioWhmcs.php

@@ -458,15 +458,16 @@ class KerioWhmcs extends KerioConnectApi {
 			))
 		);
 
+		$result = $this->sendRequest('Resources.create', $params);
+
 		logModuleCall(
             'kerioEmail',
             __FUNCTION__,
-            $attr,
+            $result,
             'Debug Error',
             $params
         );
 
-		$result = $this->sendRequest('Resources.create', $params);
 		return $result;
 	}