summaryrefslogtreecommitdiff
path: root/httemplate/edit/part_pkg.cgi
diff options
context:
space:
mode:
authormark <mark>2010-05-21 03:42:34 +0000
committermark <mark>2010-05-21 03:42:34 +0000
commitdfe3bf05cc94635ae1f9ca233e060acc21d0e487 (patch)
tree8bab6c3b555f2bae1099512abf3fbd05f3b637e0 /httemplate/edit/part_pkg.cgi
parentb540a4a1b7e6ae2e48b2c3b63fc1a5ad79cfe63e (diff)
fix display bug, RT#8524
Diffstat (limited to 'httemplate/edit/part_pkg.cgi')
-rwxr-xr-xhttemplate/edit/part_pkg.cgi6
1 files changed, 6 insertions, 0 deletions
diff --git a/httemplate/edit/part_pkg.cgi b/httemplate/edit/part_pkg.cgi
index 538ba3478..291e078c8 100755
--- a/httemplate/edit/part_pkg.cgi
+++ b/httemplate/edit/part_pkg.cgi
@@ -506,6 +506,12 @@ my $html_bottom = sub {
# $html .= ' SELECTED' if $freq eq $part_pkg->freq;
# $html .= ">$freq{$freq}";
#}
+
+ if(!exists($href->{$field})) {
+ # shouldn't happen
+ warn "nonexistent part_pkg option: '$field'\n";
+ next;
+ }
#$html .= '</SELECT></TD></TR>';
my $href = $plans{$layer}->{'fields'};