Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
kylemhall committed Dec 5, 2023
1 parent 3133373 commit 68bafc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Koha/Plugin/Com/ByWaterSolutions/TwilioVoice.pm
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ sub before_send_messages {
}

# If enabled, skip sending if this is an overdue notice *and* the patron has an sms number or email address
if (if $skip_odue_if_other_if_sms_or_email && any { $m->{letter_code} eq $_ } @odue_letter_codes) {
if ($skip_odue_if_other_if_sms_or_email && any { $m->{letter_code} eq $_ } @odue_letter_codes) {
my $skip = $patron->notice_email_address || $patron->smsalertnumber;

if ($skip) {
Expand Down

0 comments on commit 68bafc2

Please sign in to comment.