summaryrefslogtreecommitdiff
path: root/httemplate
diff options
context:
space:
mode:
authorivan <ivan>2008-05-09 06:34:58 +0000
committerivan <ivan>2008-05-09 06:34:58 +0000
commiteaafe49123e402598d1e350c5654b7870073740d (patch)
tree535978d77674e2a9eda21f88fe52bffc9301d2a3 /httemplate
parent95ce32b3b4d3957a90ad0e999f75396063c22b94 (diff)
JSON 1.0 (on deb 4.0) doesn't have to_json yet
Diffstat (limited to 'httemplate')
-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>