From dfd4e5ebc9df916868210a7844f2a6f35e7b8aca Mon Sep 17 00:00:00 2001 From: Roman Kelesidis Date: Wed, 19 Feb 2025 18:15:47 +0300 Subject: [PATCH] fix(tr_seed_bonus.php): Incorrect `GROUP BY` (#1820) --- library/includes/cron/jobs/tr_seed_bonus.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/includes/cron/jobs/tr_seed_bonus.php b/library/includes/cron/jobs/tr_seed_bonus.php index b8fc3f6d4..3c4c67544 100644 --- a/library/includes/cron/jobs/tr_seed_bonus.php +++ b/library/includes/cron/jobs/tr_seed_bonus.php @@ -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']);