https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30781 Jonathan Druart <jonathan.druart+koha@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jonathan.druart+koha@gmail. | |com --- Comment #1 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- That could be fixed with the following change. diff --git a/C4/Letters.pm b/C4/Letters.pm index 9ed1de0e44f..8ab0bb727e0 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -599,6 +599,7 @@ sub GetPreparedLetter { if (%$substitute) { while ( my ($token, $val) = each %$substitute ) { + $val //= q{}; if ( $token eq 'items.content' ) { $val =~ s|\n|<br/>|g if $letter->{is_html}; } -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.