diff options
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-x | LedgerSMB/AM.pm | 2 | ||||
-rwxr-xr-x | LedgerSMB/User.pm | 2 |
2 files changed, 2 insertions, 2 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}; diff --git a/LedgerSMB/User.pm b/LedgerSMB/User.pm index c1e0642f..166a3d3c 100755 --- a/LedgerSMB/User.pm +++ b/LedgerSMB/User.pm @@ -31,7 +31,7 @@ # #===================================================================== -package User; +package LedgerSMB::User; use LedgerSMB::Sysconfig; |