From 90d53f2bfaac6b65afb211e81c1f9aa160da9e1c Mon Sep 17 00:00:00 2001 From: Mark Wells Date: Tue, 16 Apr 2013 21:12:17 -0700 Subject: for exports with per-service machine selection, make sure there is always a machine selected, #17194, #22524 --- httemplate/edit/process/part_export.cgi | 1 + 1 file changed, 1 insertion(+) (limited to 'httemplate/edit/process') diff --git a/httemplate/edit/process/part_export.cgi b/httemplate/edit/process/part_export.cgi index bcb9c0df1..e0c470675 100644 --- a/httemplate/edit/process/part_export.cgi +++ b/httemplate/edit/process/part_export.cgi @@ -56,6 +56,7 @@ my $new = new FS::part_export ( { if ( $cgi->param('svc_machine') eq 'Y' ) { $new->machine('_SVC_MACHINE'); $new->part_export_machine_textarea( $cgi->param('part_export_machine') ); + $new->default_machine_name( $cgi->param('default_machine_name') ); } my $error; -- cgit v1.2.1