http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6835

--- Comment #31 from Matthias Meusburger <[email protected]> ---
1) 
push @emails_to_use, $email if ($email ne '');

I also added line 497/498:
push @emails_to_use, $memberinfos->{$_}
                              if ($memberinfos->{$_} ne '');


2) It does work, but you're right, it's messy:
-                        $email = 1 if (@emails_to_use);

-                    if ( ( !$email || $nomail ) && $PrintNoticesMaxLines && $j
>= $PrintNoticesMaxLines ) {
+                    if ( ( scalar(@emails_to_use) == 0 || $nomail ) &&
$PrintNoticesMaxLines && $j >= $PrintNoticesMaxLines ) {

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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