From b7ec6919e98db613a448f292264360d72d1b8fde Mon Sep 17 00:00:00 2001 From: baiyuan Date: Mon, 27 Jan 2014 23:31:39 -0500 Subject: [PATCH] fix Undefined subroutine &JSON::decode_json called at /opt/xcat/ws/xcatws.cgi line 168 --- xCAT-server/xCAT-wsapi/xcatws.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/xCAT-wsapi/xcatws.cgi b/xCAT-server/xCAT-wsapi/xcatws.cgi index 9fabf3bdb..0694bbc94 100755 --- a/xCAT-server/xCAT-wsapi/xcatws.cgi +++ b/xCAT-server/xCAT-wsapi/xcatws.cgi @@ -1,7 +1,7 @@ #!/usr/bin/perl use strict; use CGI qw/:standard/; -#use JSON; # require this dynamically later on so that installations that do not use xcatws.cgi do not need perl-JSON +use JSON; # require this dynamically later on so that installations that do not use xcatws.cgi do not need perl-JSON use Data::Dumper; #added the line: