summaryrefslogtreecommitdiff
path: root/LedgerSMB
diff options
context:
space:
mode:
Diffstat (limited to 'LedgerSMB')
-rwxr-xr-xLedgerSMB/AM.pm2
-rwxr-xr-xLedgerSMB/User.pm2
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;