summaryrefslogtreecommitdiff
path: root/httemplate/edit
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/edit')
-rwxr-xr-xhttemplate/edit/cust_main_note.cgi2
-rw-r--r--httemplate/edit/payment_gateway.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/httemplate/edit/cust_main_note.cgi b/httemplate/edit/cust_main_note.cgi
index 9ae29c2f1..c295e0d7a 100755
--- a/httemplate/edit/cust_main_note.cgi
+++ b/httemplate/edit/cust_main_note.cgi
@@ -26,7 +26,7 @@
<& /elements/htmlarea.html,
'field' => 'comment_html',
'curr_value' => $comment,
- 'config' => { toolbarStartupExpanded => JSON::false,
+ 'config' => { toolbarStartupExpanded => Cpanel::JSON::XS::false,
height => 315,
},
&>
diff --git a/httemplate/edit/payment_gateway.html b/httemplate/edit/payment_gateway.html
index 156910f51..a85ba57af 100644
--- a/httemplate/edit/payment_gateway.html
+++ b/httemplate/edit/payment_gateway.html
@@ -39,7 +39,7 @@
die "access denied"
unless $FS::CurrentUser::CurrentUser->access_right('Configuration');
-my $json = JSON::XS->new;
+my $json = Cpanel::JSON::XS->new;
$json->canonical(1);
my %modules = (
'Business::OnlinePayment' => [