[Koha-patches] [PATCH] BUGFIX : encoding problem & security problem
paul.poulain at biblibre.com
paul.poulain at biblibre.com
Mon Apr 14 11:59:04 CEST 2008
From: Paul POULAIN <paul.poulain at biblibre.com>
diff --git a/tools/export.pl b/tools/export.pl
index d90d7fc..67d4038 100755
--- a/tools/export.pl
+++ b/tools/export.pl
@@ -40,7 +40,7 @@ my ($template, $loggedinuser, $cookie)
query => $query,
type => "intranet",
authnotrequired => 0,
- flagsrequired => {tools => 1},
+ flagsrequired => {tools => 'export_catalog'},
debug => 1,
}
);
@@ -162,18 +162,6 @@ else {
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(
branchloop => \@branchloop,
itemtypeloop => \@itemtypesloop
--
1.5.3.2
More information about the Koha-patches
mailing list