projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
db57fc8
)
another Pg 7.3 fix
author
ivan
<ivan>
Mon, 13 Jan 2003 07:26:52 +0000
(07:26 +0000)
committer
ivan
<ivan>
Mon, 13 Jan 2003 07:26:52 +0000
(07:26 +0000)
httemplate/edit/part_export.cgi
patch
|
blob
|
history
diff --git
a/httemplate/edit/part_export.cgi
b/httemplate/edit/part_export.cgi
index
d64526d
..
bdf41e2
100644
(file)
--- 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)
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">!;
$html .= qq!<TR><TD ALIGN="right">$label</TD><TD>!;
if ( $type eq 'select' ) {
$html .= qq!<SELECT NAME="$option">!;