https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37548
--- Comment #2 from Jonathan Druart <[email protected]> --- 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. _______________________________________________ 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/
