From: ivan Date: Mon, 27 Jun 2011 18:50:35 +0000 (+0000) Subject: fix svc_acct-no_edit_username, RT#13416 X-Git-Tag: freeside_2_3_0~62 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=002da834587858fe1761816d5127afb05e064a15 fix svc_acct-no_edit_username, RT#13416 --- 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() { <% mt('Username') |h %> -% if ( $conf->exists('svc_acct-no_edit_username') ) { +% if ( $svcnum && $conf->exists('svc_acct-no_edit_username') ) { <% $svc_acct->username() %> % } else {