move from legacy compat JSON to_json to modern JSON::XS encode_json, RT#22630
[freeside.git] / httemplate / misc / cust-part_pkg.cgi
index a277ba4..43b9229 100644 (file)
@@ -1,4 +1,4 @@
-<% objToJson( \@return ) %>
+<% encode_json( \@return ) %>\
 <%init>
 
 my( $custnum, $prospectnum, $classnum ) = $cgi->param('arg');