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

(-)a/Koha/Plugins/Base.pm (-3 / +1 lines)
Lines 105-116 sub get_template { Link Here
105
105
106
    require C4::Auth;
106
    require C4::Auth;
107
107
108
    my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
108
    my ( $template, $loggedinuser, $cookie ) = C4::Auth::get_template_and_user(
109
        {   template_name   => $self->mbf_path( $args->{'file'} ),
109
        {   template_name   => $self->mbf_path( $args->{'file'} ),
110
            query           => $self->{'cgi'},
110
            query           => $self->{'cgi'},
111
            type            => "intranet",
111
            type            => "intranet",
112
            authnotrequired => 1,
112
            authnotrequired => 1,
113
#           flagsrequired   => { tools => '*' },
114
            is_plugin       => 1,
113
            is_plugin       => 1,
115
        }
114
        }
116
    );
115
    );
117
- 

Return to bug 9971