From: ivan Date: Tue, 23 Aug 2005 12:38:55 +0000 (+0000) Subject: fix bug with service editing caused by moving dbdef stuff around X-Git-Tag: SQL_LEDGER_2_4_4~1^2~183 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=9eb89294e2909ca9a8043b05f2492b7018b14adb;p=freeside.git fix bug with service editing caused by moving dbdef stuff around --- 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(). "FieldModifier"; #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