From 901a83c41dd365b0d0be110558372924575ee253 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Sat, 31 Aug 2024 19:36:36 +0700 Subject: [PATCH] Revert "Update TorrServerAPI.php" This reverts commit 9726d0d019db2ecc2209a564f8da85d2bbb41876. --- src/TorrServerAPI.php | 1 - 1 file changed, 1 deletion(-) diff --git a/src/TorrServerAPI.php b/src/TorrServerAPI.php index 151a0ec86..f2ead8780 100644 --- a/src/TorrServerAPI.php +++ b/src/TorrServerAPI.php @@ -229,7 +229,6 @@ class TorrServerAPI if ($curl->httpStatusCode === 200 && !empty($response)) { CACHE('tr_cache')->set("ffprobe_m3u_$attach_id", $response, 3600); } else { - $response->{$index} = $curl->httpStatusCode; bb_log("TorrServer (ERROR) [$this->url]: Response code: {$curl->httpStatusCode}\n", $this->logFile); } $curl->close();