mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Update view_torrent.php
This commit is contained in:
parent
e070341675
commit
e584336041
1 changed files with 1 additions and 1 deletions
|
@ -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']);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue