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

(-)a/Koha/Template/Plugin/Koha.pm (-3 / +1 lines)
Lines 18-24 package Koha::Template::Plugin::Koha; Link Here
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
19
20
use Modern::Perl;
20
use Modern::Perl;
21
use Encode qw( encode );
22
21
23
use base qw( Template::Plugin );
22
use base qw( Template::Plugin );
24
23
Lines 43-49 is necessary. Link Here
43
42
44
sub Preference {
43
sub Preference {
45
    my ( $self, $pref ) = @_;
44
    my ( $self, $pref ) = @_;
46
    return encode('UTF-8', C4::Context->preference( $pref ) );
45
    return C4::Context->preference( $pref );
47
}
46
}
48
47
49
sub Version {
48
sub Version {
50
- 

Return to bug 14584