From 3a11de06f7c5a5faf40d2e81ed60ef914ea8039e Mon Sep 17 00:00:00 2001 From: Bernd Blessmann Date: Tue, 2 Aug 2011 10:15:08 +0200 Subject: [PATCH] Vorauswahl der Sprache darf auch leer sein --- SL/AM.pm | 2 +- templates/webpages/am/edit_defaults.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/SL/AM.pm b/SL/AM.pm index ab983b757..33f8e66cc 100644 --- a/SL/AM.pm +++ b/SL/AM.pm @@ -1077,7 +1077,7 @@ sub save_defaults { $form->{sdonumber}, $form->{pdonumber}, $currency, $form->{businessnumber}, $form->{weightunit}, - $form->{language_id}); + conv_i($form->{language_id})); do_query($form, $dbh, $query, @values); $dbh->commit(); diff --git a/templates/webpages/am/edit_defaults.html b/templates/webpages/am/edit_defaults.html index d8aee7535..20adf27de 100644 --- a/templates/webpages/am/edit_defaults.html +++ b/templates/webpages/am/edit_defaults.html @@ -166,6 +166,7 @@ DATA = ALL_LANGUAGES, id_key = 'id', label_key = 'description', + show_empty = 1 -%] -- 2.20.1