summaryrefslogtreecommitdiff
path: root/httemplate/misc/xmlhttp-cust_main-search.cgi
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/misc/xmlhttp-cust_main-search.cgi
parent95ce32b3b4d3957a90ad0e999f75396063c22b94 (diff)
JSON 1.0 (on deb 4.0) doesn't have to_json yet
Diffstat (limited to 'httemplate/misc/xmlhttp-cust_main-search.cgi')
-rw-r--r--httemplate/misc/xmlhttp-cust_main-search.cgi2
1 files changed, 1 insertions, 1 deletions
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>