summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
authorChristopher Burger <burgerc@freeside.biz>2019-05-28 10:55:29 -0400
committerChristopher Burger <burgerc@freeside.biz>2019-05-28 11:26:48 -0400
commit727183110e28fc634f7813b85ba9797f1be83c38 (patch)
tree2dd860a23965c2ef3b645b60166ce00853fbaf45 /httemplate/elements
parent2cbc631a817e19dcfe4b61d2fd856e87f01d3509 (diff)
RT# 77532 - fixed error where cust main fax not showing, and fixed checking of phonetypenum
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/select-cust-fields.html2
-rw-r--r--httemplate/elements/tr-select-cust-fields.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/elements/select-cust-fields.html b/httemplate/elements/select-cust-fields.html
index 63e92ac3d..833f7c1af 100644
--- a/httemplate/elements/select-cust-fields.html
+++ b/httemplate/elements/select-cust-fields.html
@@ -6,7 +6,7 @@
foreach my $phone_type ( FS::phone_type->get_phone_types() ) {
$contact_phone_list .= " | Contact ".$phone_type->typename." phone(s)";
}
- @fields = map {s/\| Contact phone\(s\)/$contact_phone_list/g; $_; } @fields;
+ @fields = map {s/ \| Contact phone\(s\)/$contact_phone_list/g; $_; } @fields;
$opt{'avail_fields'} ||= [ @fields ];
diff --git a/httemplate/elements/tr-select-cust-fields.html b/httemplate/elements/tr-select-cust-fields.html
index 0af432ae7..cbac20280 100644
--- a/httemplate/elements/tr-select-cust-fields.html
+++ b/httemplate/elements/tr-select-cust-fields.html
@@ -11,7 +11,7 @@ my $contact_phone_list;
foreach my $phone_type ( FS::phone_type->get_phone_types() ) {
$contact_phone_list .= " | Contact ".$phone_type->typename." phone(s)";
}
-@fields = map {s/\| Contact phone\(s\)/$contact_phone_list/g; $_; } @fields;
+@fields = map {s/ \| Contact phone\(s\)/$contact_phone_list/g; $_; } @fields;
$opt{'avail_fields'} ||= [ @fields ];