Use unique_undeleted instead of unique for custom fields

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-08-01 17:10:39 -07:00
parent a51b446a10
commit 0fdbd410b6

View file

@ -87,7 +87,7 @@ class CustomFieldset extends Model
}
if ($field->is_unique == '1') {
$rule[] = 'unique';
$rule[] = 'unique_undeleted';
}
array_push($rule, $field->attributes['format']);