fix(tr_seed_bonus.php): Incorrect GROUP BY (#1820)

This commit is contained in:
Roman Kelesidis 2025-02-19 18:15:47 +03:00 committed by GitHub
commit dfd4e5ebc9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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']);