Bei der Drop-Down-Box für die Drucker wieder den Druckernamen anzeigen.
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 4 Apr 2007 14:11:40 +0000 (14:11 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 4 Apr 2007 14:11:40 +0000 (14:11 +0000)
bin/mozilla/io.pl

index 1912776..eefdefe 100644 (file)
@@ -1527,7 +1527,7 @@ sub print_options {
       if (ref $form->{languages} eq 'ARRAY');
 
   push @PRINTER_ID, 
-    map { opthash($_->{id}, ($_->{id} eq $form->{printer_id} ? 'selected' : ''), $_->{description}) } +{}, @{ $form->{printers} }
+    map { opthash($_->{id}, ($_->{id} eq $form->{printer_id} ? 'selected' : ''), $_->{printer_description}) } +{}, @{ $form->{printers} }
       if (ref $form->{printers} eq 'ARRAY');
 
   @SELECTS = map { sname => lc $_, DATA => \@$_, show => scalar @$_ }, qw(FORMNAME LANGUAGE_ID FORMAT SENDMODE MEDIA PRINTER_ID);