From 2748aaf4aa3f19e17a37edc07e89ee402108900d Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Sun, 13 Dec 2015 15:28:57 -0800 Subject: JSON::XS -> Cpanel::JSON::XS --- FS/FS/msg_template/http.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FS/FS/msg_template') diff --git a/FS/FS/msg_template/http.pm b/FS/FS/msg_template/http.pm index 9c4e68b..12269a1 100644 --- a/FS/FS/msg_template/http.pm +++ b/FS/FS/msg_template/http.pm @@ -7,7 +7,7 @@ use vars qw( $DEBUG $conf ); # needed to talk to the external service use LWP::UserAgent; use HTTP::Request::Common; -use JSON; +use Cpanel::JSON::XS; # needed to manage prepared messages use FS::cust_msg; @@ -45,7 +45,7 @@ sub prepare { my( $self, %opt ) = @_; - my $json = JSON->new->canonical(1); + my $json = Cpanel::JSON::XS->new->canonical(1); my $cust_main = $opt{'cust_main'}; # or die 'cust_main required'; my $object = $opt{'object'} or die 'object required'; -- cgit v1.1