BUGFIX : encoding problem & security problem
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
daa0c79642
commit
d853be943f
1 changed files with 1 additions and 13 deletions
|
@ -40,7 +40,7 @@ my ($template, $loggedinuser, $cookie)
|
||||||
query => $query,
|
query => $query,
|
||||||
type => "intranet",
|
type => "intranet",
|
||||||
authnotrequired => 0,
|
authnotrequired => 0,
|
||||||
flagsrequired => {tools => 1},
|
flagsrequired => {tools => 'export_catalog'},
|
||||||
debug => 1,
|
debug => 1,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
@ -162,18 +162,6 @@ else {
|
||||||
push @branchloop, \%row;
|
push @branchloop, \%row;
|
||||||
}
|
}
|
||||||
|
|
||||||
my ($template, $loggedinuser, $cookie)
|
|
||||||
= get_template_and_user
|
|
||||||
(
|
|
||||||
{
|
|
||||||
template_name => "tools/export.tmpl",
|
|
||||||
query => $query,
|
|
||||||
type => "intranet",
|
|
||||||
authnotrequired => 0,
|
|
||||||
flagsrequired => {tools => 'export_catalog'},
|
|
||||||
debug => 1,
|
|
||||||
}
|
|
||||||
);
|
|
||||||
$template->param(
|
$template->param(
|
||||||
branchloop => \@branchloop,
|
branchloop => \@branchloop,
|
||||||
itemtypeloop => \@itemtypesloop
|
itemtypeloop => \@itemtypesloop
|
||||||
|
|
Loading…
Reference in a new issue