From a0fb2c61d060560bc8256a0faf5f2c8848e990ac Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Mon, 5 Dec 2022 17:37:14 +0800 Subject: [PATCH] fix invite harem addition --- include/constants.php | 2 +- public/invite.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/constants.php b/include/constants.php index dbd9706d..ecfc6b07 100644 --- a/include/constants.php +++ b/include/constants.php @@ -1,6 +1,6 @@ $user{$arr['email']}" . mksize($arr['uploaded']) . "" . mksize($arr['downloaded']) . "$ratio"); if ($haremAdditionFactor > 0) { - print ("".number_format(calculate_seed_bonus($arr['id'])['all_bonus'] * $haremAdditionFactor, 3).""); + print ("".number_format(calculate_seed_bonus($arr['id'])['seed_points'] * $haremAdditionFactor, 3).""); } print("$status"); if ($CURUSER['id'] == $id || get_user_class() >= UC_SYSOP){