From 27ee26568a1a58b0fb65b7269a43cd3da6d66b35 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 13 Jan 2003 07:26:52 +0000 Subject: [PATCH] another Pg 7.3 fix --- httemplate/edit/part_export.cgi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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!