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

(-)a/Koha/Illrequest.pm (-3 / +2 lines)
Lines 854-862 sub expandTemplate { Link Here
854
    my $backend_dir = $self->_config->backend_dir;
854
    my $backend_dir = $self->_config->backend_dir;
855
    my $backend_tmpl = join "/", $backend_dir, $backend;
855
    my $backend_tmpl = join "/", $backend_dir, $backend;
856
    my $intra_tmpl =  join "/", $backend_tmpl, "intra-includes",
856
    my $intra_tmpl =  join "/", $backend_tmpl, "intra-includes",
857
        $params->{method} . ".inc";
857
        ( $params->{method}//q{} ) . ".inc";
858
    my $opac_tmpl =  join "/", $backend_tmpl, "opac-includes",
858
    my $opac_tmpl =  join "/", $backend_tmpl, "opac-includes",
859
        $params->{method} . ".inc";
859
        ( $params->{method}//q{} ) . ".inc";
860
    # Set files to load
860
    # Set files to load
861
    $params->{template} = $intra_tmpl;
861
    $params->{template} = $intra_tmpl;
862
    $params->{opac_template} = $opac_tmpl;
862
    $params->{opac_template} = $opac_tmpl;
863
- 

Return to bug 23712