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

(-)a/opac/opac-messaging.pl (-1 / +6 lines)
Lines 35-40 use Koha::SMS::Providers; Link Here
35
35
36
my $query = CGI->new();
36
my $query = CGI->new();
37
37
38
unless ( C4::Context->preference('EnhancedMessagingPreferencesOPAC') and
39
         C4::Context->preference('EnhancedMessagingPreferences') ) {
40
    print $query->redirect("/cgi-bin/koha/errors/404.pl");
41
    exit;
42
}
43
38
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
44
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
39
    {
45
    {
40
        template_name   => 'opac-messaging.tt',
46
        template_name   => 'opac-messaging.tt',
41
- 

Return to bug 12528