View | Details | Raw Unified | Return to bug 14584
Collapse All | Expand All

(-)a/Koha/Template/Plugin/Koha.pm (-2 / +2 lines)
Lines 43-49 is necessary. Link Here
43
43
44
sub Preference {
44
sub Preference {
45
    my ( $self, $pref ) = @_;
45
    my ( $self, $pref ) = @_;
46
    return encode('UTF-8', C4::Context->preference( $pref ) );
46
    my $str = C4::Context->preference( $pref );
47
    return C4::Charset::IsStringUTF8ish($str) ? $str : encode('UTF-8', $str);
47
}
48
}
48
49
49
sub Version {
50
sub Version {
50
- 

Return to bug 14584