X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FPriceRule.pm;h=70b5ab4da9f2d6b0cd203d8e07b3d33292fc5b2b;hb=c7241bf7c547d63999898dee7b5dd486e4d122d3;hp=66436375ecadb52da17c23d9df5619ae98052b44;hpb=3873daa9d435d39692982b1f1532ee770f9d0239;p=kivitendo-erp.git diff --git a/SL/DB/PriceRule.pm b/SL/DB/PriceRule.pm index 66436375e..70b5ab4da 100644 --- a/SL/DB/PriceRule.pm +++ b/SL/DB/PriceRule.pm @@ -96,7 +96,7 @@ sub validate { my @errors; push @errors, $::locale->text('The name must not be empty.') if !$self->name; push @errors, $::locale->text('Price or discount must not be zero.') if !$self->price && !$self->discount && !$self->reduction; - push @errors, $::locale->text('Pirce rules must have at least one rule.') if !@{[ $self->items ]}; + push @errors, $::locale->text('Price rules must have at least one rule.') if !@{[ $self->items ]}; push @errors, $_->validate for $self->items; return @errors;