summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/part_event.html
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-08-03 23:04:05 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-08-03 23:04:05 -0500
commitc76dee5b859e969a9a1610be53122981f5690687 (patch)
treea1badbab6e4eee518625828e24cf7aaa307b77e3 /httemplate/edit/process/part_event.html
parentb9f68ca7d2a521b037995d1512067ac19cf6db7b (diff)
RT#42043: Check for cancelled packages with a cancellation date age option [age_newest options]
Diffstat (limited to 'httemplate/edit/process/part_event.html')
-rw-r--r--httemplate/edit/process/part_event.html4
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";