diff options
Diffstat (limited to 'LedgerSMB/AM.pm')
-rwxr-xr-x | LedgerSMB/AM.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LedgerSMB/AM.pm b/LedgerSMB/AM.pm index 0e3abeaa..fc2cc677 100755 --- a/LedgerSMB/AM.pm +++ b/LedgerSMB/AM.pm @@ -1317,7 +1317,7 @@ sub save_preferences { $dbh->commit; - my $myconfig = new User "${LedgerSMB::Sysconfig::memberfile}", "$form->{login}"; + my $myconfig = LedgerSMB::User->new("${LedgerSMB::Sysconfig::memberfile}", "$form->{login}"); foreach my $item (keys %$form) { $myconfig->{$item} = $form->{$item}; |