diff --git a/app/Http/Controllers/ClientController.php b/app/Http/Controllers/ClientController.php index 401e04f..b85c03c 100644 --- a/app/Http/Controllers/ClientController.php +++ b/app/Http/Controllers/ClientController.php @@ -846,7 +846,7 @@ class ClientController extends Controller } else { $rate = new Rate(); } - if ($rt > 0 && $rt < 5) { + if ($rt > 0 && $rt <= 5) { $rate->rater_type = Customer::class; $rate->rater_id = auth('customer')->id(); $rate->rateable_type = $request->rateable_type;