mirror of
https://github.com/torrentpier/torrentpier-lts.git
synced 2025-02-28 15:10:54 +03:00
Update displaying_torrent.php
This commit is contained in:
parent
34d191659d
commit
43b415d045
@ -164,7 +164,7 @@ if ($tor_reged && $tor_info)
|
|||||||
$dl_allowed = true;
|
$dl_allowed = true;
|
||||||
$user_ratio = 0;
|
$user_ratio = 0;
|
||||||
|
|
||||||
if (($min_ratio_dl || $min_ratio_warn) && $bt_user_id != $poster_id)
|
if (($min_ratio_dl || $min_ratio_warn) && ($bt_user_id != $poster_id && $bt_user_id != GUEST_UID))
|
||||||
{
|
{
|
||||||
$sql = "SELECT u.*, dl.user_status
|
$sql = "SELECT u.*, dl.user_status
|
||||||
FROM ". BB_BT_USERS ." u
|
FROM ". BB_BT_USERS ." u
|
||||||
|
Loading…
Reference in New Issue
Block a user