diff --git a/app/Console/Commands/SendRemindMail.php b/app/Console/Commands/SendRemindMail.php index 22972f1d..e5b10a59 100644 --- a/app/Console/Commands/SendRemindMail.php +++ b/app/Console/Commands/SendRemindMail.php @@ -65,7 +65,7 @@ class SendRemindMail extends Command if (($ud / $transfer_enable * 100) < 80) return false; return true; } - if (isWarnValue()) { + if (isWarnValue(($user->u + $user->d), $user->transfer_enable)) { } }