瀏覽代碼

plugin_auth_emby_connect bugfix

Cerothen 9 年之前
父節點
當前提交
18f60dafb2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      functions.php

+ 1 - 1
functions.php

@@ -82,7 +82,7 @@ function plugin_auth_emby_connect($username, $password) {
 			'rawpw' => $password,
 		);
 		
-		$result = json_decode(curl_post($connectURL, $body, $headers),true);
+		$result = curl_post($connectURL, $body, $headers);
 		
 		if (isset($response['content'])) {
 			$json = json_decode($response['content'], true);