Allow admin to enter a bonus score of zero

Closes #87
This commit is contained in:
Matt Young 2024-12-26 17:39:14 -06:00
parent 4945309bd9
commit 69b7cf1c0b
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class BonusScoreController extends Controller
} }
// If no score was submitted, were going to just stop at deleting the scores // If no score was submitted, were going to just stop at deleting the scores
if (! $validData['score'] == null) { if (! is_null($validData['score'])) {
// Set the new score // Set the new score
try { try {
$saveBonusScore($judge, $entry, $validData['score']); $saveBonusScore($judge, $entry, $validData['score']);