summaryrefslogtreecommitdiff
path: root/httemplate/edit/process/part_event.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2016-09-01 17:00:22 -0700
committerIvan Kohler <ivan@freeside.biz>2016-09-01 17:00:22 -0700
commitddb601f6bb7bdce8e0912e78472335f5613d20db (patch)
treec332e0d18be5f14e1cfb8c42ccd2a46122e3b163 /httemplate/edit/process/part_event.html
parent4a896c6c3703b5f509fc75e98a7982fbcd85f9ae (diff)
parentf33281a9f445b06e319c45f393c71577701eff67 (diff)
Merge branch 'FREESIDE_3_BRANCH' of git.freeside.biz:/home/git/freeside into FREESIDE_3_BRANCH
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";