fixed: Poll question/answers with international text corrupted
This commit is contained in:
parent
8b17b8c157
commit
d245e8ef48
2 changed files with 3 additions and 2 deletions
|
|
@ -192,7 +192,7 @@ sub freezeGraphConfig {
|
|||
my $self = shift;
|
||||
my $obj = shift;
|
||||
|
||||
return JSON::to_json($obj);
|
||||
return JSON::encode_json($obj);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -404,7 +404,7 @@ sub thawGraphConfig {
|
|||
my $string = shift;
|
||||
|
||||
return unless $string;
|
||||
return JSON::from_json($string);
|
||||
return JSON::decode_json($string);
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue