summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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};