diff options
| author | Jonathan Prykop <jonathan@freeside.biz> | 2016-08-03 23:04:05 -0500 |
|---|---|---|
| committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-08-29 16:37:19 -0500 |
| commit | b941e602f1362b232845cd21279600f3b9793dc0 (patch) | |
| tree | 5edeb3b537918ae528acede19311841d33211fa5 /httemplate/edit/process | |
| parent | ae72b17b3bea122afd5058577dce7d3237b9561a (diff) | |
RT#42043: Check for cancelled packages with a cancellation date age option [age_newest options]
Diffstat (limited to 'httemplate/edit/process')
| -rw-r--r-- | httemplate/edit/process/part_event.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/process/part_event.html b/httemplate/edit/process/part_event.html index bac69241c..0293af886 100644 --- a/httemplate/edit/process/part_event.html +++ b/httemplate/edit/process/part_event.html @@ -39,8 +39,8 @@ split(/\0/, $value) }; } elsif ( $info->{'type'} eq 'freq' ) { - $value = '0' if !length($value); - $value .= $params->{$cgi_field.'_units'}; + $value = '0' if !length($value) and !$info->{'allow_blank'}; + $value .= $params->{$cgi_field.'_units'} if length($value); } #warn "value of $cgi_field is $value\n"; |
