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

--- Comment #111 from Martin Renvoize <[email protected]> ---
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.
_______________________________________________
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/

Reply via email to