Skip to content

A free open source IT asset/license management system

Use unique_undeleted instead of unique for custom fields

snipe0fdbd410b656
diff --git a/app/Models/CustomFieldset.php b/app/Models/CustomFieldset.php
index 1cf1807d85..a2698d818c 100644
--- a/app/Models/CustomFieldset.php
+++ b/app/Models/CustomFieldset.php
@@ -87,7 +87,7 @@ class CustomFieldset extends Model
}
if ($field->is_unique == '1') {
- $rule[] = 'unique';
+ $rule[] = 'unique_undeleted';
}
array_push($rule, $field->attributes['format']);