X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/096f9e3e06dc378bcc2f97df58c74cec02b9f7ff..c8c6d6d:/bin/mozilla/wh.pl diff --git a/bin/mozilla/wh.pl b/bin/mozilla/wh.pl index 6af6980fe..3b732bced 100644 --- a/bin/mozilla/wh.pl +++ b/bin/mozilla/wh.pl @@ -434,6 +434,11 @@ sub create_assembly { if (!$form->{warehouse_id} || !$form->{bin_id}) { $form->error($locale->text('The warehouse or the bin is missing.')); } + + if (!$main::show_best_before) { + $form->{bestbefore} = ''; + } + # WIESO war das nicht vorher schon ein %HASH?? ein hash ist ein hash! das hat mich mehr als eine Stunde gekostet herauszufinden. grr. jb 3.3.2009 # Anm. jb 18.3. vielleicht auch nur meine unwissenheit in perl-datenstrukturen my %TRANSFER = (