summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-18 23:09:20 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-18 23:09:20 +0000
commitfbfd378f345f26df344fad3a729fd30512d23317 (patch)
treed8122d99dbeb458b9f9ed5d4bdf2b51c227dac7d /bin
parent9305c09adf12c3646b506f036e67e410e306148c (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
Diffstat (limited to 'bin')
-rwxr-xr-xbin/admin.pl2
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};