summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2016-09-12 17:42:16 -0500
committerJonathan Prykop <jonathan@freeside.biz>2016-09-12 18:28:47 -0500
commit5cd19c26283661da5d242f031d1c81a4129782fd (patch)
treea9808b78e03804d5f6144511ae0467bbfbe9ea9f /httemplate/elements
parenta0e9787492ab306e94f41492ac7f59fb6a3e4802 (diff)
71720: Prevent billing events from running on holidays
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/tr-checkbox-multiple.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/httemplate/elements/tr-checkbox-multiple.html b/httemplate/elements/tr-checkbox-multiple.html
index bb90a820b..4d754b007 100644
--- a/httemplate/elements/tr-checkbox-multiple.html
+++ b/httemplate/elements/tr-checkbox-multiple.html
@@ -33,6 +33,8 @@ my $onchange = $opt{'onchange'}
my $value = $opt{'curr_value'} || $opt{'value'};
+$value = $opt{default_value} if $opt{default_value} && !defined($value);
+
my $labels = $opt{'option_labels'} || $opt{'labels'};
my $style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : '';