summaryrefslogtreecommitdiff
path: root/httemplate/edit/process
diff options
context:
space:
mode:
authorivan <ivan>2001-09-11 12:46:17 +0000
committerivan <ivan>2001-09-11 12:46:17 +0000
commit17765dcdb928bbe90f7f4166950b5e61c678af36 (patch)
treeafc9695fe4418dd9b2dc123b02cc4afb46d4695a /httemplate/edit/process
parenta97f85810afbd1db0ffa0cf581d074f51ca13ef8 (diff)
more service edit fix
Diffstat (limited to 'httemplate/edit/process')
-rwxr-xr-xhttemplate/edit/process/part_svc.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/edit/process/part_svc.cgi b/httemplate/edit/process/part_svc.cgi
index 937f7fb4c..97477d645 100755
--- a/httemplate/edit/process/part_svc.cgi
+++ b/httemplate/edit/process/part_svc.cgi
@@ -12,7 +12,9 @@ my $new = new FS::part_svc ( {
map { my $svcdb = $_;
map { ( $svcdb.'__'.$_, $svcdb.'__'.$_.'_flag' ) }
fields($svcdb)
- } qw( svc_acct svc_domain svc_acct_sm svc_forward svc_www ) )
+ } grep defined( $FS::Record::dbdef->table($_) ),
+ qw( svc_acct svc_domain svc_acct_sm svc_forward svc_www )
+ )
} );
my $error;