diff options
author | ivan <ivan> | 2005-08-23 12:38:55 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-08-23 12:38:55 +0000 |
commit | 9eb89294e2909ca9a8043b05f2492b7018b14adb (patch) | |
tree | e831e74a1d3e80f3008c4e2c036d5cf28e39f745 /httemplate | |
parent | 3da06ca40ca237b002337574ad66b697c59d261d (diff) |
fix bug with service editing caused by moving dbdef stuff around
Diffstat (limited to 'httemplate')
-rwxr-xr-x | httemplate/edit/part_svc.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/edit/part_svc.cgi b/httemplate/edit/part_svc.cgi index 3540a421e..ea429678d 100755 --- a/httemplate/edit/part_svc.cgi +++ b/httemplate/edit/part_svc.cgi @@ -194,7 +194,7 @@ my %defs = ( $html .= table(). "<TH>Field</TH><TH COLSPAN=2>Modifier</TH>"; #yucky kludge - my @fields = defined( $FS::Record::dbdef->table($layer) ) + my @fields = defined( dbdef->table($layer) ) ? grep { $_ ne 'svcnum' } fields($layer) : (); push @fields, 'usergroup' if $layer eq 'svc_acct'; #kludge |