mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 10:37:30 -07:00
fix(tr_seed_bonus.php): Incorrect GROUP BY
(#1820)
This commit is contained in:
parent
bdefed4dab
commit
dfd4e5ebc9
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ if ($bb_cfg['seed_bonus_enabled'] && $bb_cfg['seed_bonus_points'] && $bb_cfg['se
|
|||
WHERE tor.topic_id = bt.topic_id
|
||||
AND tor.size > $tor_size
|
||||
AND bt.seeder > 0
|
||||
GROUP BY user_id
|
||||
GROUP BY bt.user_id
|
||||
");
|
||||
|
||||
$seed_bonus = unserialize($bb_cfg['seed_bonus_points']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue