|
Lines 64-69
if ( C4::Context->preference('RestrictPatronsWithFailedNotices') ) {
Link Here
|
| 64 |
unless ( $failed_notice->message_transport_type eq 'sms' |
64 |
unless ( $failed_notice->message_transport_type eq 'sms' |
| 65 |
|| $failed_notice->message_transport_type eq 'email' ); |
65 |
|| $failed_notice->message_transport_type eq 'email' ); |
| 66 |
|
66 |
|
|
|
67 |
# Messages failed for being duplicates do not indicate an issue with contacting the patron |
| 68 |
next if $failed_notice->failure_code eq 'DUPLICATE_MESSAGE'; |
| 69 |
|
| 67 |
# If failed sms or email notice has no recipient patron then skip to next failed |
70 |
# If failed sms or email notice has no recipient patron then skip to next failed |
| 68 |
# notice |
71 |
# notice |
| 69 |
next unless $failed_notice->borrowernumber; |
72 |
next unless $failed_notice->borrowernumber; |
| 70 |
- |
|
|