Update view_torrent.php

This commit is contained in:
Roman Kelesidis 2025-07-30 19:32:52 +03:00
commit e584336041
No known key found for this signature in database
GPG key ID: D8157C4D4C4C6DB4

View file

@ -31,7 +31,7 @@ if (!$torrent) {
// Check rights // Check rights
$is_auth = auth(AUTH_ALL, $torrent['forum_id'], $userdata); $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']); $this->ajax_die($lang['SORRY_AUTH_VIEW_ATTACH']);
} }