summaryrefslogtreecommitdiff
path: root/httemplate/view/svc_dish.cgi
diff options
context:
space:
mode:
authormark <mark>2011-07-31 01:01:05 +0000
committermark <mark>2011-07-31 01:01:05 +0000
commit949dc94f84492f7ab96fb7333177898611a2cf9a (patch)
tree7966edb7a71008728ed31acdc93e4119723bb695 /httemplate/view/svc_dish.cgi
parent197e19d52c02f541850ca06f2628d86c2c3b9464 (diff)
more tolerant installation note fields, #13827
Diffstat (limited to 'httemplate/view/svc_dish.cgi')
-rw-r--r--httemplate/view/svc_dish.cgi4
1 files changed, 3 insertions, 1 deletions
diff --git a/httemplate/view/svc_dish.cgi b/httemplate/view/svc_dish.cgi
index 768c1372f..58da7075a 100644
--- a/httemplate/view/svc_dish.cgi
+++ b/httemplate/view/svc_dish.cgi
@@ -14,6 +14,8 @@ my %labels = map { $_ => ( ref($fields->{$_})
} keys %$fields;
my @fields = ('acctnum',
{ field => 'installdate', type => 'date' },
- 'note'
+ { field => 'note',
+ value => sub { encode_entities($_[0]->note) }
+ },
);
</%init>