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

(-)a/opac/opac-request-article.pl (-1 / +6 lines)
Lines 33-38 use Try::Tiny; Link Here
33
33
34
my $cgi = CGI->new;
34
my $cgi = CGI->new;
35
35
36
# If ArticleRequests is disabled, leave immediately
37
if ( !C4::Context->preference('ArticleRequests') ) {
38
    print $cgi->redirect("/cgi-bin/koha/errors/404.pl");
39
    exit;
40
}
41
36
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
42
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
37
    {
43
    {
38
        template_name   => "opac-request-article.tt",
44
        template_name   => "opac-request-article.tt",
39
- 

Return to bug 36072