Lines 50-60
my $messaging_options = C4::Members::Messaging::GetMessagingOptions();
Link Here
|
50 |
|
50 |
|
51 |
if ( defined $query->param('modify') && $query->param('modify') eq 'yes' ) { |
51 |
if ( defined $query->param('modify') && $query->param('modify') eq 'yes' ) { |
52 |
my $sms = $query->param('SMSnumber'); |
52 |
my $sms = $query->param('SMSnumber'); |
53 |
if ( defined $sms && ( $borrower->{'smsalertnumber'} // '' ) ne $sms ) { |
53 |
my $sms_provider_id = $query->param('sms_provider_id'); |
|
|
54 |
if ( defined $sms && ( $borrower->{'smsalertnumber'} // '' ) ne $sms |
55 |
or ( $borrower->{sms_provider_id} // '' ) ne $sms_provider_id ) { |
54 |
ModMember( |
56 |
ModMember( |
55 |
borrowernumber => $borrowernumber, |
57 |
borrowernumber => $borrowernumber, |
56 |
smsalertnumber => $sms, |
58 |
smsalertnumber => $sms, |
57 |
sms_provider_id => $query->param('sms_provider_id'), |
59 |
sms_provider_id => $sms_provider_id, |
58 |
); |
60 |
); |
59 |
$borrower = C4::Members::GetMember( borrowernumber => $borrowernumber ); |
61 |
$borrower = C4::Members::GetMember( borrowernumber => $borrowernumber ); |
60 |
} |
62 |
} |
61 |
- |
|
|