فهرست منبع

try to get connectiontest running

andre 2 سال پیش
والد
کامیت
711c6af2e6
1فایلهای تغییر یافته به همراه4 افزوده شده و 4 حذف شده
  1. 4 4
      api/class/KerioApi.php

+ 4 - 4
api/class/KerioApi.php

@@ -500,17 +500,17 @@ class KerioApi implements KerioApiInterface {
 		if (empty($this->hostname)) {
 			throw new KerioApiException('Cannot send data before login.');
 		}
+		/* Get full HTTP request */
+		$request = $this->getHttpRequest($method, $data);
 
 		logModuleCall(
 			'kerioEmail',
 			__FUNCTION__,
-			$method,
+			$request,
 			'Debug Kerio Api 1',
-			$data
+			$this->hostname
 		);
 
-		/* Get full HTTP request */
-		$request = $this->getHttpRequest($method, $data);
 		$this->debug(sprintf("&rarr; Raw request:\n<pre>%s</pre>", $request));
 
 		/* Open socket */