X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fwh.pl;h=e9829f1bc071ab17951b45435711640caadb3054;hb=2b260ba4ae39d5827145f8aed03f5afeb62e36ad;hp=fc34ba6e76de396af585f31a5886e40c04228f82;hpb=6a8787147ad643549eb26cb4f9a373b5b354b8b9;p=kivitendo-erp.git diff --git a/bin/mozilla/wh.pl b/bin/mozilla/wh.pl index fc34ba6e7..e9829f1bc 100644 --- a/bin/mozilla/wh.pl +++ b/bin/mozilla/wh.pl @@ -176,7 +176,9 @@ sub transfer_or_removal_prepare_contents { "ean" => $form->{ean}, "description" => $form->{description}); - $form->show_generic_error($locale->text("The selected warehouse is empty.")) if (0 == scalar(@contents)); + if (0 == scalar(@contents)) { + $form->show_generic_error($locale->text("The selected warehouse is empty, or no stocked items where found that match the filter settings.")); + } my $all_units = AM->retrieve_units(\%myconfig, $form);