diff options
author | Mark Wells <mark@freeside.biz> | 2013-04-16 21:12:17 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2013-04-16 21:12:17 -0700 |
commit | 90d53f2bfaac6b65afb211e81c1f9aa160da9e1c (patch) | |
tree | c932a2145e6fff19d44a938d86a90f5872462a10 /httemplate/edit/process/part_export.cgi | |
parent | 458154df5fb1ebf983458007e266da130b706ef7 (diff) |
for exports with per-service machine selection, make sure there is always a machine selected, #17194, #22524
Diffstat (limited to 'httemplate/edit/process/part_export.cgi')
-rw-r--r-- | httemplate/edit/process/part_export.cgi | 1 |
1 files changed, 1 insertions, 0 deletions
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; |