From 0fdbd410b6565bb6945602b818ab6b8cdbea0531 Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 1 Aug 2022 17:10:39 -0700 Subject: [PATCH] Use unique_undeleted instead of unique for custom fields Signed-off-by: snipe --- app/Models/CustomFieldset.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']);