summaryrefslogtreecommitdiff
path: root/httemplate/misc/xmlhttp-cust_main-email_search.html
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-04-17 20:44:39 -0700
committerIvan Kohler <ivan@freeside.biz>2013-04-17 20:44:39 -0700
commit04bf3e2423b070d3e3e2a2e6006b678bcf11b481 (patch)
treedf34ab7f8a9a14305a2b2b6124035f680cc559ef /httemplate/misc/xmlhttp-cust_main-email_search.html
parent9fbee73725ce02023c76179d573048cf4177903b (diff)
move from legacy compat JSON to_json to modern JSON::XS encode_json, RT#22630
Diffstat (limited to 'httemplate/misc/xmlhttp-cust_main-email_search.html')
-rw-r--r--httemplate/misc/xmlhttp-cust_main-email_search.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/httemplate/misc/xmlhttp-cust_main-email_search.html b/httemplate/misc/xmlhttp-cust_main-email_search.html
index d8c8ef44c..0d830826c 100644
--- a/httemplate/misc/xmlhttp-cust_main-email_search.html
+++ b/httemplate/misc/xmlhttp-cust_main-email_search.html
@@ -1,4 +1,4 @@
-<% JSON::to_json(\@result) %>\
+<% encode_json(\@result) %>\
<%init>
die 'access denied'
unless $FS::CurrentUser::CurrentUser->access_right('Edit customer');