X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=httemplate%2Fedit%2Fpart_export.cgi;h=bdf41e2b2c32383ceb718932e3bae02b9c0e1a84;hb=27ee26568a1a58b0fb65b7269a43cd3da6d66b35;hp=d64526dd4758dc3638f53ee76525170443ecf8d7;hpb=db57fc8a00107bdbf5830b5c11b53dd0cfd7ec3b;p=freeside.git diff --git a/httemplate/edit/part_export.cgi b/httemplate/edit/part_export.cgi index d64526dd4..bdf41e2b2 100644 --- a/httemplate/edit/part_export.cgi +++ b/httemplate/edit/part_export.cgi @@ -49,11 +49,11 @@ my $widget = new HTML::Widgets::SelectLayers( my $label = $optinfo->{label}; my $type = defined($optinfo->{type}) ? $optinfo->{type} : 'text'; my $value = $cgi->param($option) - || $part_export->option($option) - || ( (exists $optinfo->{default} && !$part_export->exportnum) - ? $optinfo->{default} - : '' - ); + || ( $part_export->exportnum && $part_export->option($option) ) + || ( (exists $optinfo->{default} && !$part_export->exportnum) + ? $optinfo->{default} + : '' + ); $html .= qq!$label!; if ( $type eq 'select' ) { $html .= qq!