From e584336041ea90d0e3d1f17a7243f30ff9910435 Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Wed, 30 Jul 2025 19:32:52 +0300 Subject: [PATCH] Update view_torrent.php --- library/ajax/view_torrent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ajax/view_torrent.php b/library/ajax/view_torrent.php index c10fd0f45..6d342781a 100644 --- a/library/ajax/view_torrent.php +++ b/library/ajax/view_torrent.php @@ -31,7 +31,7 @@ if (!$torrent) { // Check rights $is_auth = auth(AUTH_ALL, $torrent['forum_id'], $userdata); -if (!$is_auth['auth_download']) { +if (!$is_auth['auth_view']) { $this->ajax_die($lang['SORRY_AUTH_VIEW_ATTACH']); }