From d853be943fae8b2a50f78ccfdee537f5196fd310 Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Mon, 14 Apr 2008 11:59:04 +0200 Subject: [PATCH] BUGFIX : encoding problem & security problem Signed-off-by: Joshua Ferraro --- tools/export.pl | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/tools/export.pl b/tools/export.pl index d90d7fcbff..67d4038fb0 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 -- 2.39.5