Actions
Patch #25014
closedredmine/i18n.rb - languages_lookup class variable is rebuilt every time
Start date:
Due date:
% Done:
0%
Estimated time:
Description
the @@languages_lookup
variable in redmine/i18n.rb
appears to be intended as a cache but is assigned to a new value everytime find_language
is called.
Attached patch fixes this by using ||=
instead of =
.
Files
Actions