fixed: Poll question/answers with international text corrupted

This commit is contained in:
Graham Knop 2008-03-27 20:29:07 +00:00
parent 8b17b8c157
commit d245e8ef48
2 changed files with 3 additions and 2 deletions

View file

@ -2,6 +2,7 @@
- fixed: Collaboration System attachments follow site's max size instead of CS's
- fixed: Rich editor image uploader doesn't follow size limits
- make sure all tables are using UTF-8
- fixed: Poll question/answers with international text corrupted
7.5.8
- moved Gallery utility methods to WebGUI::Utility::Gallery

View file

@ -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);
}
#-------------------------------------------------------------------