diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-02-02 22:02:53 -0600 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-02-11 13:38:25 -0600 |
commit | 4778dab8ae1c8cb6e6c784c9da1e475072479516 (patch) | |
tree | 706b2d3ca2de13c195a3d1566beb3520631cf33a /httemplate | |
parent | 56fabf7ddfea7308bb22e43b79df04dd46a1620f (diff) |
RT#27425: Fixed/blank svc_phone domain
Diffstat (limited to 'httemplate')
-rw-r--r-- | httemplate/edit/elements/part_svc_column.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/httemplate/edit/elements/part_svc_column.html b/httemplate/edit/elements/part_svc_column.html index 53cda859e..2bb4f5e41 100644 --- a/httemplate/edit/elements/part_svc_column.html +++ b/httemplate/edit/elements/part_svc_column.html @@ -140,7 +140,8 @@ that field. 'value_col' => $def->{'select_key'}, 'order_by' => dbdef->table($def->{'select_table'})->primary_key, 'multiple' => $def->{'multiple'}, - 'disable_empty' => 1, + 'disable_empty' => $def->{'select_allow_empty'} ? undef : 1, + 'empty_label' => $def->{'select_allow_empty'} ? ' ' : undef, 'curr_value' => $value, # these can be switched between multiple and singular, # so put the complete curr_value in an attribute |