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:48:11 -0500 |
| commit | 501210e1bbf79d8a9d6308257124c44a261bf379 (patch) | |
| tree | ae011f729abfa2fb3481b126df0a406d50769e4a /httemplate/edit/process | |
| parent | bcaab65d7ce645ea7fef8361fe57fbcde532b0ab (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"; |
