mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Use unique_undeleted instead of unique for custom fields
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
a51b446a10
commit
0fdbd410b6
|
@ -87,7 +87,7 @@ class CustomFieldset extends Model
|
|||
}
|
||||
|
||||
if ($field->is_unique == '1') {
|
||||
$rule[] = 'unique';
|
||||
$rule[] = 'unique_undeleted';
|
||||
}
|
||||
|
||||
array_push($rule, $field->attributes['format']);
|
||||
|
|
Loading…
Reference in a new issue