Revision 8146cf19
Von Tamino Steinert vor 5 Tagen hinzugefügt
SL/Helper/PrintOptions.pm | ||
---|---|---|
137 | 137 |
|
138 | 138 |
push @LANGUAGE_ID, |
139 | 139 |
map { opthash($_->{id}, ($_->{id} eq $form->{language_id} ? 'selected' : ''), $_->{description}) } +{}, @{ $form->{languages} } |
140 |
if (ref $form->{languages} eq 'ARRAY');
|
|
140 |
if ((ref $form->{languages} eq 'ARRAY') && scalar @{$form->{languages}});
|
|
141 | 141 |
|
142 | 142 |
push @PRINTER_ID, |
143 | 143 |
map { opthash($_->{id}, ($_->{id} eq $form->{printer_id} ? 'selected' : ''), $_->{printer_description}) } +{}, @{ $form->{printers} } |
Auch abrufbar als: Unified diff
S:H:PrintOptions: Sprachenfeld nur anzeigen wenn Sprachen vorhanden