21 Oct
2024
21 Oct
'24
3:26 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37548 --- Comment #2 from Jonathan Druart <jonathan.druart@gmail.com> --- C4/Letters.pm @@ -1038,7 +1038,7 @@ sub SendQueuedMessages { $domain_limits = Koha::Notice::Util->load_domain_limits; # (re)initialize per run while( ( my $message_object = $unsent_messages->next ) && ( !$limit || $count_messages < $limit ) ) { - my $message = $message_object->unblessed; + my $message = $message_object->get_from_storage->unblessed; What about refetching the letter at the start of the loop? It's cheap and could reduce this problem. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.