From cb2c724abd22d65669f02e06f3069cd052087f76 Mon Sep 17 00:00:00 2001 From: wvengen Date: Mon, 11 Feb 2013 23:37:52 +0100 Subject: [PATCH] fix typo --- app/models/stock_article.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/stock_article.rb b/app/models/stock_article.rb index d8f5ef50..8ed76721 100644 --- a/app/models/stock_article.rb +++ b/app/models/stock_article.rb @@ -26,7 +26,7 @@ class StockArticle < Article protected def check_quantity - raise I18n.t('stockit.check.not_empty'), :name => name) unless quantity == 0 + raise I18n.t('stockit.check.not_empty', :name => name) unless quantity == 0 end # Overwrite Price history of Article. For StockArticles isn't it necessary.