Browse Source

plugin_auth_emby_connect bugfix

Cerothen 9 years ago
parent
commit
18f60dafb2
1 changed files with 1 additions and 1 deletions
  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);