summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/part_event.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-03-06 13:11:37 -0800
committerIvan Kohler <ivan@freeside.biz>2012-03-06 13:11:37 -0800
commit9c8370e960bea77063028ce488fde8b6bb47b53c (patch)
tree473f059855bc1dcf279d3d064fdadd8cee87ac67 /httemplate/edit/process/part_event.html
parent1f816fc11f47f9d100d0fba04362de0623577b1c (diff)
fix bare "m" getting inserted as an age, causes event browse to error out, incidental to RT#16831
Diffstat (limited to 'httemplate/edit/process/part_event.html')
-rw-r--r--httemplate/edit/process/part_event.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/httemplate/edit/process/part_event.html b/httemplate/edit/process/part_event.html
index d4d4526e0..a8c434c1a 100644
--- a/httemplate/edit/process/part_event.html
+++ b/httemplate/edit/process/part_event.html
@@ -39,6 +39,7 @@
split(/\0/, $value)
};
} elsif ( $info->{'type'} eq 'freq' ) {
+ $value = '0' if !length($value);
$value .= $params->{$cgi_field.'_units'};
}