diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-18 23:09:20 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-18 23:09:20 +0000 |
commit | fbfd378f345f26df344fad3a729fd30512d23317 (patch) | |
tree | d8122d99dbeb458b9f9ed5d4bdf2b51c227dac7d | |
parent | 9305c09adf12c3646b506f036e67e410e306148c (diff) |
Fixing error on user creation
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@230 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-x | bin/admin.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/admin.pl b/bin/admin.pl index 4b42ba94..cd68191c 100755 --- a/bin/admin.pl +++ b/bin/admin.pl @@ -756,7 +756,6 @@ sub form_header { sub save { - $form->db_init; # no driver checked $form->error($locale->text('Database Driver not checked!')) unless $form->{dbdriver}; @@ -794,6 +793,7 @@ sub save { $myconfig = new User "$memberfile", "$form->{login}"; + $form->db_init(%myconfig); # redo acs variable and delete all the acs codes @acs = split /;/, $form->{acs}; |