diff options
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 4d52e7b..467d69a 100644 --- a/httemplate/edit/process/part_event.html +++ b/httemplate/edit/process/part_event.html @@ -40,6 +40,7 @@ }; } elsif ( $info->{'type'} eq 'freq' ) { $value = '0' if !length($value) and !$info->{'allow_blank'}; + $value = '0' if $value =~ /[^\d]/; $value .= $params->{$cgi_field.'_units'} if length($value); } |