diff --git a/app/Http/Controllers/CommissionPresetController.php b/app/Http/Controllers/CommissionPresetController.php index 646648b9..538c39b5 100644 --- a/app/Http/Controllers/CommissionPresetController.php +++ b/app/Http/Controllers/CommissionPresetController.php @@ -83,8 +83,7 @@ public function edit(CommissionPreset $commissionPreset) */ public function update(Request $request, CommissionPreset $commissionPreset) { - if($commissionPreset->user_id != auth()->id()) - { + if($commissionPreset->user_id != auth()->id()) { abort(403); } $res = $this->validate($request, [