From 002da834587858fe1761816d5127afb05e064a15 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 27 Jun 2011 18:50:35 +0000 Subject: [PATCH] fix svc_acct-no_edit_username, RT#13416 --- httemplate/edit/svc_acct.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.11.0