diff options
author | Ivan Kohler <ivan@freeside.biz> | 2012-03-06 13:11:37 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2012-03-06 13:11:37 -0800 |
commit | 9c8370e960bea77063028ce488fde8b6bb47b53c (patch) | |
tree | 473f059855bc1dcf279d3d064fdadd8cee87ac67 /httemplate/edit/process/part_event.html | |
parent | 1f816fc11f47f9d100d0fba04362de0623577b1c (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.html | 1 |
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'}; } |