[freeside-commits] freeside/httemplate/edit svc_acct.cgi,1.31,1.32

Ivan,,, ivan at wavetail.420.am
Wed Sep 7 05:45:01 PDT 2005


Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail:/tmp/cvs-serv24165

Modified Files:
	svc_acct.cgi 
Log Message:
fix silly bug sizing username field when adding an account (and username max is not set)

Index: svc_acct.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/svc_acct.cgi,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- svc_acct.cgi	26 Sep 2003 21:02:13 -0000	1.31
+++ svc_acct.cgi	7 Sep 2005 12:44:59 -0000	1.32
@@ -97,7 +97,7 @@
 }
 
 my $ulen = $conf->config('usernamemax')
-           || $svc_acct->dbdef_table->column('username')->length;
+           || dbdef->table('svc_acct')->column('username')->length;
 my $ulen2 = $ulen+2;
 
 my $pmax = $conf->config('passwordmax') || 8;



More information about the freeside-commits mailing list