fix the problem for json return format with imbedded list

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13162 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
xq2005 2012-06-25 14:03:30 +00:00
parent c5a5298977
commit 9ee701ca4a

View File

@ -1765,9 +1765,9 @@ sub wrapData {
}
sub wrapJson {
my @data = shift;
my $data = shift;
my $json;
$json->{'data'} = \@data;
$json->{'data'} = $data;
addPageContent(to_json($json));
}