@@ -, +, @@ --- C4/Reserves.pm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) --- a/C4/Reserves.pm +++ a/C4/Reserves.pm @@ -1854,12 +1854,7 @@ sub _koha_notify_reserve { my $transports = $messagingpref->message_transport_types if $messagingpref; foreach my $mtt (keys %{$transports}) { my $letter_code = $transports->{$mtt}; - next if ( - ( $mtt eq 'email' and not $to_address ) # No email address - or ( $mtt eq 'sms' and not $patron->smsalertnumber ) # No SMS number - or ( $mtt eq 'itiva' and C4::Context->preference('TalkingTechItivaPhoneNotification') ) # Notice is handled by TalkingTech_itiva_outbound.pl - or ( $mtt eq 'phone' and not $patron->phone ) # No phone number to call - ); + next unless $messagingpref->mtt_deliverable($mtt); &$send_notification($mtt, $letter_code); $notification_sent++; --