[Koha-bugs] [Bug 13473] Plugins fail when loading templates
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 18 12:39:02 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13473
--- Comment #15 from Héctor <hectorejch at yahoo.com.ar> ---
(In reply to Tomás Cohen Arazi from comment #14)
> (In reply to Héctor from comment #13)
> > This works, but the system language is shown only in English, although it is
> > set to Spanish
>
> Could you please fill a new bug for that? Put this one in the 'see also'.
But the error occurs when you apply this patch.
I "solved" this by replacing:
#Otherwise return theme/'en', last resort fallback/'en'
for my $theme (@themes) {
if ( -e "$htdocs/$theme/en/$where/$tmpl" ) {
return ( $theme, 'en', uniq( \@themes ) );
}
}
by
# Otherwise return theme/'en', last resort fallback/'en'
for my $theme (@themes) {
if ( -e "$htdocs/$theme/es-ES/$where/$tmpl" ) {
return ( $theme, 'es-ES', uniq( \@themes ) );
}
}
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list