View | Details | Raw Unified | Return to bug 20439
Collapse All | Expand All

(-)a/members/memberentry.pl (-1 / +1 lines)
Lines 68-74 if ( $borrowernumber and not $patron ) { Link Here
68
}
68
}
69
69
70
if ( C4::Context->preference('SMSSendDriver') eq 'Email' ) {
70
if ( C4::Context->preference('SMSSendDriver') eq 'Email' ) {
71
    my @providers = Koha::SMS::Providers->search->as_list;
71
    my @providers = Koha::SMS::Providers->search( {}, { order_by => 'name' } )->as_list;
72
    $template->param( sms_providers => \@providers );
72
    $template->param( sms_providers => \@providers );
73
}
73
}
74
74
(-)a/opac/opac-messaging.pl (-3 / +4 lines)
Lines 79-86 $template->param( Link Here
79
                  TalkingTechItivaPhone        =>  C4::Context->preference("TalkingTechItivaPhoneNotification") );
79
                  TalkingTechItivaPhone        =>  C4::Context->preference("TalkingTechItivaPhoneNotification") );
80
80
81
if ( C4::Context->preference("SMSSendDriver") eq 'Email' ) {
81
if ( C4::Context->preference("SMSSendDriver") eq 'Email' ) {
82
    my $providers = Koha::SMS::Providers->search;
82
    my @providers = Koha::SMS::Providers->search( {}, { order_by => 'name' } )->as_list;
83
    $template->param( sms_providers => $providers, sms_provider_id => $patron->sms_provider_id );
83
    $template->param(
84
            sms_providers => \@providers,
85
            sms_provider_id => $patron->sms_provider_id );
84
}
86
}
85
87
86
my $new_session_id = $query->cookie('CGISESSID');
88
my $new_session_id = $query->cookie('CGISESSID');
87
- 

Return to bug 20439