summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--httemplate/misc/xmlhttp-cust_main-address_standardize.html2
-rw-r--r--httemplate/misc/xmlhttp-cust_main-search.cgi2
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/misc/xmlhttp-cust_main-address_standardize.html b/httemplate/misc/xmlhttp-cust_main-address_standardize.html
index e290301c9..7da94c8ec 100644
--- a/httemplate/misc/xmlhttp-cust_main-address_standardize.html
+++ b/httemplate/misc/xmlhttp-cust_main-address_standardize.html
@@ -1,4 +1,4 @@
-<% to_json($return) %>
+<% objToJson($return) %>
<%init>
my $DEBUG = 1;
diff --git a/httemplate/misc/xmlhttp-cust_main-search.cgi b/httemplate/misc/xmlhttp-cust_main-search.cgi
index 374623039..20707dab8 100644
--- a/httemplate/misc/xmlhttp-cust_main-search.cgi
+++ b/httemplate/misc/xmlhttp-cust_main-search.cgi
@@ -15,7 +15,7 @@
% my @cust_main = smart_search( 'search' => $string );
% my $return = [ map [ $_->custnum, $_->name ], @cust_main ];
%
-<% to_json($return) %>
+<% objToJson($return) %>
% }
<%init>