https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24661

--- Comment #23 from Jonathan Druart <[email protected]> 
---
There is a variable name collision with "lang" in some scripts:
It's passed to all templates by C4::Templates to pass the language of the UI
 84     $self->lang($lang);

And, for instance, in controller like members/memberentry.pl
790 $template->param(%data);

I know what we do in memberentry.pl is ugly, but fixing it will require some
deep change it seems.

Maybe the easiest would be to rename the "global" $lang with something like
$ui_lang?

The error in the log is:
File not found : default/js/locale_data.js at
/kohadevbox/koha/Koha/Template/Plugin/Asset.pm line 84.

because borrowers.lang is "default" by default.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to