causefx пре 7 година
родитељ
комит
9c46ff3f82
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      api/functions/homepage-connect-functions.php

+ 1 - 1
api/functions/homepage-connect-functions.php

@@ -816,7 +816,7 @@ function rTorrentConnect()
 			), array());
 			$response = Requests::post($url, array(), $data, $options);
 			if ($response->success) {
-				$torrentList = xmlrpc_decode(str_replace('i8>', 'i4>', $response->body));
+				$torrentList = xmlrpc_decode(str_replace('i8>', 'string>', $response->body));
 				foreach ($torrentList as $key => $value) {
 					$tempStatus = rTorrentStatus($value[13], $value[10], $value[6]);
 					if ($tempStatus == 'Seeding' && $GLOBALS['rTorrentHideSeeding']) {