summaryrefslogtreecommitdiffstats
path: root/samba_wizard/Sambaprint.pm
diff options
context:
space:
mode:
Diffstat (limited to 'samba_wizard/Sambaprint.pm')
-rwxr-xr-xsamba_wizard/Sambaprint.pm7
1 files changed, 2 insertions, 5 deletions
diff --git a/samba_wizard/Sambaprint.pm b/samba_wizard/Sambaprint.pm
index 8a20e8f5..7dec4754 100755
--- a/samba_wizard/Sambaprint.pm
+++ b/samba_wizard/Sambaprint.pm
@@ -119,7 +119,7 @@ $o->{pages} = {
summary => {
name => N('Configuring Samba priniters'),
pre => sub {
- $o->{var}{wiz_sambatype} = $type{$o->{var}{wiz_type}};
+ $o->{var}{wiz_sambatype} = $cprint{$o->{var}{wiz_type}};
},
data => [
{ label => N('Samba type:'), fixed_val => \$o->{var}{wiz_sambatype} },
@@ -131,10 +131,7 @@ $o->{pages} = {
next => 'end'
},
end => {
- name => N('Congratulations') . "\n\n" . N('The wizard successfully configured your Samba server.'),
- post => sub {
- store_samba_type($o->{var}{wiz_type});
- },
+ name => N('Congratulations') . "\n\n" . N('The wizard successfully configured your Samba printer.'),
no_back => 1,
end => 1,
next => 0