From 68013e1610a9ffbacb0df1c55eae2a416cf365ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B8nstantine=20Kovalensky?= <45331093+kovalensky@users.noreply.github.com> Date: Tue, 19 Dec 2023 08:38:40 +0400 Subject: [PATCH] Code re-formatting (#1225->6) --- library/includes/file_list_v2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/includes/file_list_v2.php b/library/includes/file_list_v2.php index c5b9b31f8..5f530fab4 100644 --- a/library/includes/file_list_v2.php +++ b/library/includes/file_list_v2.php @@ -52,7 +52,7 @@ $file_contents = file_get_contents($file_path); if ($bb_cfg['flist_max_files']) { $filetree_pos = strpos($file_contents, ':file tree'); $files_pos = !empty($row['info_hash']) ? strpos($file_contents, ':files', $filetree_pos) : false; -$file_count = substr_count($file_contents, ':length', $filetree_pos, ($files_pos ? ($files_pos - $filetree_pos) : null)); + $file_count = substr_count($file_contents, ':length', $filetree_pos, ($files_pos ? ($files_pos - $filetree_pos) : null)); if ($file_count > $bb_cfg['flist_max_files']) { http_response_code(410);