From fbfd378f345f26df344fad3a729fd30512d23317 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Wed, 18 Oct 2006 23:09:20 +0000 Subject: Fixing error on user creation git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@230 4979c152-3d1c-0410-bac9-87ea11338e46 --- bin/admin.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}; -- cgit v1.2.3