Vorauswahl der Sprache darf auch leer sein
authorBernd Blessmann <bibi@online.de>
Tue, 2 Aug 2011 08:15:08 +0000 (10:15 +0200)
committerG. Richardson <information@lx-office-hosting.de>
Tue, 2 Aug 2011 09:29:27 +0000 (11:29 +0200)
SL/AM.pm
templates/webpages/am/edit_defaults.html

index ab983b7..33f8e66 100644 (file)
--- 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();
index d8aee75..20adf27 100644 (file)
            DATA          = ALL_LANGUAGES,
            id_key        = 'id',
            label_key     = 'description',
+           show_empty    = 1
            -%]
       </td>
     </tr>