diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-03-21 17:46:58 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2007-03-21 17:46:58 +0000 |
commit | c546a6652ad38b5212457c3074c64a7fead4642d (patch) | |
tree | 2ee3bddda25f2c20a4932413eafd0349f3e1465d /bin | |
parent | 03ebefa998f4ac8b2b5b35bf5a76a43c26fab740 (diff) |
Switching save to using the current LedgerSMB::User constructor
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@977 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/admin.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/admin.pl b/bin/admin.pl index c182371b..8c464cd1 100755 --- a/bin/admin.pl +++ b/bin/admin.pl @@ -295,7 +295,6 @@ sub list_users { <button type="submit" class="submit" name="action" value="change_admin_password">|.$locale->text('Change Admin Password').qq|</button> $dbdrivers - $nologin <button type="submit" class="submit" name="action" value="logout">|.$locale->text('Logout').qq|</button> </form> @@ -736,7 +735,7 @@ sub save { # add base directory to $form->{templates} $form->{templates} = "${LedgerSMB::Sysconfig::templates}/$form->{templates}"; - $myconfig = LedgerSMB::User->new("${LedgerSMB::Sysconfig::memberfile}", "$form->{login}"); + $myconfig = LedgerSMB::User->new("$form->{login}"); # redo acs variable and delete all the acs codes @acs = split /;/, $form->{acs}; |