From c0194aaa542922b12a7ee13f2b3e218c9b9ff971 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B8nstantine=20Kovalensky?= <45331093+kovalensky@users.noreply.github.com> Date: Sun, 5 Nov 2023 09:46:45 +0400 Subject: [PATCH] Code fix (#1044) --- bt/scrape.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bt/scrape.php b/bt/scrape.php index 1d4f38b25..61230de32 100644 --- a/bt/scrape.php +++ b/bt/scrape.php @@ -42,7 +42,7 @@ foreach ($info_hash_array[1] as $hash) { $decoded_hash = urldecode($hash); - if ($scrape_cache = CACHE('tr_cache')->get(SCRAPE_LIST_PREFIX . bin2hex($decoded_hash)) { + if ($scrape_cache = CACHE('tr_cache')->get(SCRAPE_LIST_PREFIX . bin2hex($decoded_hash))) { $torrents['files'][$info_key = array_key_first($scrape_cache)] = $scrape_cache[$info_key]; } else{