aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Fripost/Panel/Interface.pm
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2013-01-26 21:54:51 +0100
committerGuilhem Moulin <guilhem.moulin@fripost.org>2013-01-26 21:54:51 +0100
commit050f245fd22572f36de9339df800757018628449 (patch)
tree32aec5711c167011bdb4b4b81223dc57b4dd53d4 /lib/Fripost/Panel/Interface.pm
parent5002c89470b511dea3bb8eb64c81a71b7788fa0f (diff)
Fixed a bug with internationalization.
Diffstat (limited to 'lib/Fripost/Panel/Interface.pm')
-rw-r--r--lib/Fripost/Panel/Interface.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Fripost/Panel/Interface.pm b/lib/Fripost/Panel/Interface.pm
index fc27158..228233e 100644
--- a/lib/Fripost/Panel/Interface.pm
+++ b/lib/Fripost/Panel/Interface.pm
@@ -603,6 +603,7 @@ sub parse_CGI_query {
$params{$_} = $rest{$_} for keys %rest;
foreach my $key (keys %params) {
+ Encode::_utf8_on($params{$key}) if defined $params{$key};
if ($key eq 'name') {
$entry->{$key} = $params{$key};
}