13 Dec
2012
13 Dec
'12
10:46 a.m.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6835
--- Comment #31 from Matthias Meusburger <matthias.meusburger@biblibre.com> ---
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.