https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16088
--- Comment #20 from Jonathan Druart <[email protected]> --- (In reply to Jacek Ablewicz from comment #18) > That part of the code > > if ( $cgi and not $cgi->param('language') ) { > my $cached = $memory_cache->get_from_cache($cache_key); > > still doesn't look quite right IMO; getlanguage() is almost never called > with $cgi parameter, and the cached value will be hardly ever used. > > Shoudn't it be something like that instead: > > unless ($cgi && $cgi->param('language')) { Indeed! -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://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/
