projects
/
koha-ffzg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
51f067f
)
needed in template params for utf8 data, seems to not mind being in two places
author
Christopher Hall
<chris.hall@catalyst.net.nz>
Mon, 31 Jan 2011 22:42:44 +0000
(11:42 +1300)
committer
Christopher Hall
<chris.hall@catalyst.net.nz>
Mon, 31 Jan 2011 22:42:44 +0000
(11:42 +1300)
C4/Templates.pm
patch
|
blob
|
history
diff --git
a/C4/Templates.pm
b/C4/Templates.pm
index
a598149
..
9a07d95
100644
(file)
--- a/
C4/Templates.pm
+++ b/
C4/Templates.pm
@@
-108,6
+108,7
@@
sub param{
while(@_){
my $key = shift;
my $val = shift;
while(@_){
my $key = shift;
my $val = shift;
+ utf8::encode($val) if utf8::is_utf8($val);
$self->{VARS}->{$key} = $val;
}
}
$self->{VARS}->{$key} = $val;
}
}