mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Some bugfixes (#1380)
* Some bugfixes * Update CHANGELOG.md * Updated * Update privmsg.php * Update displaying_torrent.php * Update privmsg.php
This commit is contained in:
parent
1da27ad708
commit
65d9f6d864
5 changed files with 24 additions and 5 deletions
|
@ -153,7 +153,7 @@ if ($tor_reged && $tor_info) {
|
|||
$dl_allowed = true;
|
||||
$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
|
||||
FROM " . BB_BT_USERS . " u
|
||||
LEFT JOIN " . BB_BT_DLSTATUS . " dl ON dl.user_id = $bt_user_id AND dl.topic_id = $bt_topic_id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue