Repair JSON in web service (to_json is not imported to namespace on 'require', could do import, but just doing JSON:: to be clearer
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14866 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
602015f5c4
commit
5ecab2d703
@ -1829,7 +1829,7 @@ sub wrapJson {
|
||||
my $data = shift;
|
||||
my $json;
|
||||
$json->{'data'} = $data;
|
||||
addPageContent(to_json($json));
|
||||
addPageContent(JSON::to_json($json));
|
||||
}
|
||||
|
||||
sub wrapHtml {
|
||||
|
Loading…
x
Reference in New Issue
Block a user