needed in template params for utf8 data, seems to not mind being in two places

This commit is contained in:
Christopher Hall 2011-02-01 11:42:44 +13:00
parent 51f067fcb2
commit 7e5b71b011
1 changed files with 1 additions and 0 deletions

View File

@ -108,6 +108,7 @@ sub param{
while(@_){
my $key = shift;
my $val = shift;
utf8::encode($val) if utf8::is_utf8($val);
$self->{VARS}->{$key} = $val;
}
}