From 4c5d2915b10434c0aae29dabcebea67b26a65618 Mon Sep 17 00:00:00 2001 From: Christopher Hall Date: Tue, 25 Jan 2011 15:29:55 +1300 Subject: [PATCH] oops again, should be encode not decode --- C4/Templates.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Templates.pm b/C4/Templates.pm index 00356981ac..9a07d95232 100644 --- a/C4/Templates.pm +++ b/C4/Templates.pm @@ -108,7 +108,7 @@ sub param{ while(@_){ my $key = shift; my $val = shift; - utf8::decode($val) if utf8::is_utf8($val); + utf8::encode($val) if utf8::is_utf8($val); $self->{VARS}->{$key} = $val; } } -- 2.39.5