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

(-)a/Koha/Plugins/Base.pm (-1 / +1 lines)
Lines 117-123 sub get_template { Link Here
117
117
118
    $template->param(
118
    $template->param(
119
        CLASS       => $self->{'class'},
119
        CLASS       => $self->{'class'},
120
        METHOD      => $self->{'cgi'}->param('method'),
120
        METHOD      => scalar $self->{'cgi'}->param('method'),
121
        PLUGIN_PATH => $self->get_plugin_http_path(),
121
        PLUGIN_PATH => $self->get_plugin_http_path(),
122
    );
122
    );
123
123
(-)a/opac/ilsdi.pl (-2 / +2 lines)
Lines 128-134 unless ( $cgi->param('service') ) { Link Here
128
}
128
}
129
129
130
# If user requested a service description, then display it
130
# If user requested a service description, then display it
131
if ( $cgi->param('service') eq "Describe" and any { $cgi->param('verb') eq $_ } @services ) {
131
if ( scalar $cgi->param('service') eq "Describe" and any { scalar $cgi->param('verb') eq $_ } @services ) {
132
    my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
132
    my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
133
        {   template_name   => "ilsdi.tt",
133
        {   template_name   => "ilsdi.tt",
134
            query           => $cgi,
134
            query           => $cgi,
Lines 137-143 if ( $cgi->param('service') eq "Describe" and any { $cgi->param('verb') eq $_ } Link Here
137
            debug           => 1,
137
            debug           => 1,
138
        }
138
        }
139
    );
139
    );
140
    $template->param( $cgi->param('verb') => 1 );
140
    $template->param( scalar $cgi->param('verb') => 1 );
141
    output_html_with_http_headers $cgi, $cookie, $template->output;
141
    output_html_with_http_headers $cgi, $cookie, $template->output;
142
    exit 0;
142
    exit 0;
143
}
143
}
(-)a/svc/members/search (-1 / +1 lines)
Lines 31-37 my $input = new CGI; Link Here
31
exit unless $input->param('template_path');
31
exit unless $input->param('template_path');
32
32
33
my ($template, $user, $cookie) = get_template_and_user({
33
my ($template, $user, $cookie) = get_template_and_user({
34
    template_name   => $input->param('template_path'),
34
    template_name   => scalar $input->param('template_path'),
35
    query           => $input,
35
    query           => $input,
36
    type            => "intranet",
36
    type            => "intranet",
37
    authnotrequired => 0,
37
    authnotrequired => 0,
(-)a/svc/virtualshelves/search (-2 / +1 lines)
Lines 13-19 my $input = new CGI; Link Here
13
exit unless $input->param('template_path');
13
exit unless $input->param('template_path');
14
14
15
my ($template, $user, $cookie) = get_template_and_user({
15
my ($template, $user, $cookie) = get_template_and_user({
16
    template_name   => $input->param('template_path'),
16
    template_name   => scalar $input->param('template_path'),
17
    query           => $input,
17
    query           => $input,
18
    type            => "intranet",
18
    type            => "intranet",
19
    authnotrequired => 0,
19
    authnotrequired => 0,
20
- 

Return to bug 16476