projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
dabdf35
)
catch misconfigured exports
author
ivan
<ivan>
Wed, 24 Mar 2004 15:38:48 +0000
(15:38 +0000)
committer
ivan
<ivan>
Wed, 24 Mar 2004 15:38:48 +0000
(15:38 +0000)
httemplate/edit/part_export.cgi
patch
|
blob
|
history
diff --git
a/httemplate/edit/part_export.cgi
b/httemplate/edit/part_export.cgi
index
4d0c739
..
b3d42bd
100644
(file)
--- a/
httemplate/edit/part_export.cgi
+++ b/
httemplate/edit/part_export.cgi
@@
-46,6
+46,8
@@
my $widget = new HTML::Widgets::SelectLayers(
foreach my $option ( keys %{$exports->{$layer}{options}} ) {
my $optinfo = $exports->{$layer}{options}{$option};
+ die "Retreived non-ref export info option from $layer export: $optinfo"
+ unless ref($optinfo);
my $label = $optinfo->{label};
my $type = defined($optinfo->{type}) ? $optinfo->{type} : 'text';
my $value = $cgi->param($option)