https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29684
--- Comment #37 from Marcel de Rooy <[email protected]> --- Saw this in 21.11: [WARN] Preventing $template->lang='-undef-' to be overwritten by template->{VARS}{lang}='-undef-' at /usr/share/koha/C4/Templates.pm line 118. It comes from the 'honeypot'. Undef overwritten by undef does not make me much wiser. Am I mistaken that this code looks like a bug itself? if(exists $self->{VARS}{lang}) { warn "Preventing \$template->lang='" . ($self->{vars}{lang}//'-undef-') . "' to be overwritten by template->{VARS}{lang}='" . ($self->{VARS}{lang}//'-undef-') . "'"; delete $self->{VARS}{lang}; } Should we replace $self->{vars}{lang} here by $vars->{lang}, which comes from $self->lang ?? -- 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/
