[Koha-bugs] [Bug 12532] Redirect guarantee email to guarantor

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 10 19:11:25 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12532

--- Comment #111 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Comment on attachment 150256
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150256
Bug 12532: Send email to guarantee and guarantor

Review of attachment 150256:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=12532&attachment=150256)
-----------------------------------------------------------------

::: Koha/Email.pm
@@ +118,5 @@
>          $args->{to} = $params->{to};
>      }
>  
> +    my @emails = split(',', $args->{to});
> +    foreach my $email (@emails) {

This isn't required.. Email::Address handles formatted lists of addresses
already.

See: https://metacpan.org/pod/Email::Address#parse

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list