[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb: [230] trunk/bin/admin.pl



Revision: 230
          http://svn.sourceforge.net/ledger-smb/?rev=230&view=rev
Author:   einhverfr
Date:     2006-10-18 16:09:20 -0700 (Wed, 18 Oct 2006)

Log Message:
-----------
Fixing error on user creation

Modified Paths:
--------------
    trunk/bin/admin.pl

Modified: trunk/bin/admin.pl
===================================================================
--- trunk/bin/admin.pl	2006-10-18 22:49:49 UTC (rev 229)
+++ trunk/bin/admin.pl	2006-10-18 23:09:20 UTC (rev 230)
@@ -756,7 +756,6 @@
 
 sub save {
 
-	$form->db_init;
 	# no driver checked
 	$form->error($locale->text('Database Driver not checked!')) unless $form->{dbdriver};
 
@@ -794,6 +793,7 @@
 
 
 	$myconfig = new User "$memberfile", "$form->{login}";
+	$form->db_init(%myconfig);
 
 	# redo acs variable and delete all the acs codes
 	@acs = split /;/, $form->{acs};


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.