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

--- Comment #4 from David Cook <[email protected]> ---
(In reply to David Cook from comment #3)
> (In reply to Baptiste Wojtkowski (bwoj) from comment #1)
> > Not sure if this is a regression
> 
> It's certainly a regression.

It's because you're only incrementing $notification_sent when you generate a
print notice, so if you generate an email or a SMS, it doesn't increment, so
then it activates when it shouldn't. 

This should be fixed with a one line change.

Basically just undoing the minus here:
         &$send_notification( $mtt, $letter_code,
$messagingprefs->{wants_digest} );
-        $notification_sent++;

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to