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:
parent
c5a5298977
commit
9ee701ca4a
@ -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));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user