X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/3873daa9d435d39692982b1f1532ee770f9d0239..bce4bcf8584846bdfc22c9d78e1661bd425ebe9f:/SL/DB/PriceRule.pm 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;