diff --git a/app/Http/Controllers/CommissionPresetController.php b/app/Http/Controllers/CommissionPresetController.php index 5629ed75..646648b9 100644 --- a/app/Http/Controllers/CommissionPresetController.php +++ b/app/Http/Controllers/CommissionPresetController.php @@ -108,8 +108,7 @@ public function update(Request $request, CommissionPreset $commissionPreset) */ public function destroy(CommissionPreset $commissionPreset) { - if($commissionPreset->user_id != auth()->id()) - { + if($commissionPreset->user_id != auth()->id()) { abort(403); } $commissionPreset->delete();