Set notes to null when assigning allocation; ref #2553

This commit is contained in:
Dane Everitt 2020-10-19 21:08:40 -07:00
parent 1f5e0c0334
commit 26de4493dd
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
2 changed files with 3 additions and 2 deletions

View file

@ -115,7 +115,7 @@ class BuildModificationService
// one to reset the default allocation to.
$freshlyAllocated = $query->pluck('id')->first();
$query->update(['server_id' => $server->id]);
$query->update(['server_id' => $server->id, 'notes' => null]);
}
if (! empty($data['remove_allocations'])) {