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

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

Return to bug 12528