From 039226c384a9d9ff36ae4f624ef9d39173e0bb0e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Mon, 22 Jul 2013 14:54:34 +0200 Subject: [PATCH] Bei nicht existierenden Lagern die richtige Fehlermeldung anzeigen. behebt #2334 --- SL/Controller/Inventory.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Controller/Inventory.pm b/SL/Controller/Inventory.pm index f894e06db..10f01f8e7 100644 --- a/SL/Controller/Inventory.pm +++ b/SL/Controller/Inventory.pm @@ -230,7 +230,7 @@ sub mini_stock { $self->{stock_empty} = ! grep { $_->{sum} * 1 } @$stock; } -sub show_no_warehouse_error { +sub show_no_warehouses_error { my ($self) = @_; my $msg = t8('No warehouse has been created yet or the quantity of the bins is not configured yet.') . ' '; -- 2.20.1