Преглед на файлове

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,
 			'rawpw' => $password,
 		);
 		);
 		
 		
-		$result = json_decode(curl_post($connectURL, $body, $headers),true);
+		$result = curl_post($connectURL, $body, $headers);
 		
 		
 		if (isset($response['content'])) {
 		if (isset($response['content'])) {
 			$json = json_decode($response['content'], true);
 			$json = json_decode($response['content'], true);