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

(-)a/svc/members/search (-1 / +3 lines)
Lines 29-37 use Koha::DateUtils qw( output_pref dt_from_string ); Link Here
29
my $input = new CGI;
29
my $input = new CGI;
30
30
31
exit unless $input->param('template_path');
31
exit unless $input->param('template_path');
32
my $template_path= $input->param('template_path');
33
 $template_path =~ s/[^a-zA-Z_-]*//; #sanitzie
32
34
33
my ($template, $user, $cookie) = get_template_and_user({
35
my ($template, $user, $cookie) = get_template_and_user({
34
    template_name   => $input->param('template_path'),
36
    template_name   => $template_path,
35
    query           => $input,
37
    query           => $input,
36
    type            => "intranet",
38
    type            => "intranet",
37
    authnotrequired => 0,
39
    authnotrequired => 0,
(-)a/svc/virtualshelves/search (-2 / +3 lines)
Lines 12-19 my $input = new CGI; Link Here
12
12
13
exit unless $input->param('template_path');
13
exit unless $input->param('template_path');
14
14
15
my $template_path= $input->param('template_path');
16
 $template_path =~ s/[^a-zA-Z_-]*//; #sanitzie
15
my ($template, $user, $cookie) = get_template_and_user({
17
my ($template, $user, $cookie) = get_template_and_user({
16
    template_name   => $input->param('template_path'),
18
    template_name   => $template_path,
17
    query           => $input,
19
    query           => $input,
18
    type            => "intranet",
20
    type            => "intranet",
19
    authnotrequired => 0,
21
    authnotrequired => 0,
20
- 

Return to bug 14408