diff --git a/code/app/Services/ModifiersService.php b/code/app/Services/ModifiersService.php index 8eb5c145..7f7dbd6b 100644 --- a/code/app/Services/ModifiersService.php +++ b/code/app/Services/ModifiersService.php @@ -96,7 +96,7 @@ public function update($id, array $request) } else { $thresholds = $request['threshold'] ?? []; - $amounts = $request['amount']; + $amounts = $request['amount'] ?? []; foreach($thresholds as $index => $threshold) { $threshold = trim($threshold);