summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2015-07-10 18:38:51 -0700
committerIvan Kohler <ivan@freeside.biz>2015-07-10 18:38:51 -0700
commit88dbc5b1692d37bac7cd825ef4b61cf971c40677 (patch)
tree95aa827c9177abff2094f1ab6ea2244108014011
parentd8305ea9c9b9cf2b05b20b22ebffc087ef2d16c9 (diff)
elimiate warnings about RT method changing from EscapeUTF8 to EscapeHTML, RT#13852
-rw-r--r--FS/FS/Mason.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/FS/FS/Mason.pm b/FS/FS/Mason.pm
index 297d591ea..ff57b4353 100644
--- a/FS/FS/Mason.pm
+++ b/FS/FS/Mason.pm
@@ -646,7 +646,8 @@ sub mason_interps {
[ 'rt' => '%%%FREESIDE_DOCUMENT_ROOT%%%/rt' ],
[ 'freeside' => '%%%FREESIDE_DOCUMENT_ROOT%%%' ],
],
- escape_flags => { 'h' => \&RT::Interface::Web::EscapeUTF8,
+ escape_flags => { 'h' => \&RT::Interface::Web::EscapeHTML,
+ #u and j aren't used anymore? :/
'u' => \&RT::Interface::Web::EscapeURI,
'j' => \&RT::Interface::Web::EscapeJS,
'js_string' => $js_string_sub,