fixed fax preferences handling

2.0@2434
Daniel Tiefnig 16 years ago
parent 1d01f03785
commit 89c4b1d964

@ -1297,8 +1297,8 @@ sub update_fax : Local {
);
my $faxprefs;
$$faxprefs{name} = $c->request->params->{name} || undef;
$$faxprefs{password} = $c->request->params->{password} || undef;
$$faxprefs{active} = $c->request->params->{active} ? 1 : undef;
$$faxprefs{password} = $c->request->params->{password} if length $c->request->params->{password};
$$faxprefs{active} = $c->request->params->{active} ? 1 : 0;
### save settings ###

Loading…
Cancel
Save