summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
authormark <mark>2010-05-21 03:42:20 +0000
committermark <mark>2010-05-21 03:42:20 +0000
commit545a54b64c225ff81a92c2f57fa7b3b6509cfea0 (patch)
tree25189c2e7d94dfcee2e444df14d3f7db35e41de3 /httemplate/edit
parent4ec2405463a7a3054a8840c525ace29a2f181939 (diff)
fix display bug, RT#8524
Diffstat (limited to 'httemplate/edit')
-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 f9818c4f9..9ee8d4d0d 100755
--- a/httemplate/edit/part_pkg.cgi
+++ b/httemplate/edit/part_pkg.cgi
@@ -506,6 +506,12 @@ my $html_bottom = sub {
: keys %{ $href };
foreach my $field ( grep $_ !~ /^(setup|recur)_fee$/, @fields ) {
+
+ if(!exists($href->{$field})) {
+ # shouldn't happen
+ warn "nonexistent part_pkg option: '$field'\n";
+ next;
+ }
$html .= '<TR><TD ALIGN="right">'. $href->{$field}{'name'}. '</TD><TD>';