diff options
author | ivan <ivan> | 2003-01-13 07:26:57 +0000 |
---|---|---|
committer | ivan <ivan> | 2003-01-13 07:26:57 +0000 |
commit | 99ac490989a06fa2ab195cde6241710da45ab0aa (patch) | |
tree | b4935d0a44b85a64a44a155c119148bac125a311 | |
parent | 917d5476f4802b0efe3ade44669bf402f8a28226 (diff) |
another Pg 7.3 fix
-rw-r--r-- | httemplate/edit/part_export.cgi | 10 |
1 files 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!<TR><TD ALIGN="right">$label</TD><TD>!; if ( $type eq 'select' ) { $html .= qq!<SELECT NAME="$option">!; |