From: Bernd Blessmann Date: Tue, 2 Aug 2011 08:15:08 +0000 (+0200) Subject: Vorauswahl der Sprache darf auch leer sein X-Git-Tag: release-2.7.0beta1~342 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=3a11de06f7c5a5faf40d2e81ed60ef914ea8039e;p=kivitendo-erp.git Vorauswahl der Sprache darf auch leer sein --- 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 -%]