Verwaltung von Pflichtenheftrisikograden
[kivitendo-erp.git] / SL / DB / RequirementSpecRisk.pm
index 065b9ad..7d1449b 100644 (file)
@@ -11,7 +11,8 @@ sub validate {
   my ($self) = @_;
 
   my @errors;
-  push @errors, t8('The description is missing.') if !$self->description;
+  push @errors, t8('The description is missing.')    if !$self->description;
+  push @errors, t8('The description is not unique.') if  $self->get_first_conflicting('description');
 
   return @errors;
 }