diff --git a/app/data/service/RebateCurrentService.php b/app/data/service/RebateCurrentService.php index 186289927..5fde03af0 100644 --- a/app/data/service/RebateCurrentService.php +++ b/app/data/service/RebateCurrentService.php @@ -381,10 +381,7 @@ class RebateCurrentService extends Service if ($this->config("manage_type_vip_{$nextLevel}") == 2) { $amount = 0.00; foreach (range($prevLevel, $nextLevel) as $level) { - [$state, $value] = [ - $this->config("manage_state_vip_{$level}"), - $this->config("manage_value_vip_{$level}"), - ]; + [$state, $value] = [$this->config("manage_state_vip_{$level}"), $this->config("manage_value_vip_{$level}")]; if ($state && $value > 0) $amount += $value; } return floatval($amount);