mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -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') {
|
if ($field->is_unique == '1') {
|
||||||
$rule[] = 'unique';
|
$rule[] = 'unique_undeleted';
|
||||||
}
|
}
|
||||||
|
|
||||||
array_push($rule, $field->attributes['format']);
|
array_push($rule, $field->attributes['format']);
|
||||||
|
|
Loading…
Reference in a new issue