diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-12-13 15:28:57 -0800 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-12-13 15:28:57 -0800 |
commit | 2748aaf4aa3f19e17a37edc07e89ee402108900d (patch) | |
tree | 02c51b592ad087101f935269c5b664b313657b80 /FS/FS/msg_template | |
parent | 6d769244a6aa43877c04e227637c80ae1f0a410b (diff) |
JSON::XS -> Cpanel::JSON::XS
Diffstat (limited to 'FS/FS/msg_template')
-rw-r--r-- | FS/FS/msg_template/http.pm | 4 |
1 files changed, 2 insertions, 2 deletions
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'; |