summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/install_steps_interactive.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install_steps_interactive.pm b/perl-install/install_steps_interactive.pm
index d45875025..34172a058 100644
--- a/perl-install/install_steps_interactive.pm
+++ b/perl-install/install_steps_interactive.pm
@@ -856,7 +856,8 @@ sub summary {
return _("No printer");
}
my $entry;
- foreach ($printer->{configured}{currentqueue}, values %{$printer->{configured}{queuedata}}) {
+ foreach ($printer->{currentqueue},
+ map { $_->{queuedata} } ($printer->{configured}{$printer->{DEFAULT}}, values %{$printer->{configured}})) {
$_ && ($_->{make} || $_->{model}) and return "$_->{make} $_->{model}";
}
return _("Remote CUPS server"); #- fall back in case of something wrong.