diff options
Diffstat (limited to 'httemplate')
-rwxr-xr-x | httemplate/edit/svc_acct.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi index 230a2a58a..995bf3b45 100755 --- a/httemplate/edit/svc_acct.cgi +++ b/httemplate/edit/svc_acct.cgi @@ -45,7 +45,7 @@ function randomPass() { <TR> <TD ALIGN="right"><% mt('Username') |h %></TD> -% if ( $conf->exists('svc_acct-no_edit_username') ) { +% if ( $svcnum && $conf->exists('svc_acct-no_edit_username') ) { <TD BGCOLOR="#eeeeee"><% $svc_acct->username() %></TD> <INPUT TYPE="hidden" NAME="username" VALUE="<% $username %>"> % } else { |