@@ -, +, @@ --- tools/export.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/tools/export.pl +++ a/tools/export.pl @@ -70,7 +70,7 @@ my ( $template, $loggedinuser, $cookie, $flags ) = get_template_and_user( my @branch = $query->multi_param("branch"); my @messages; -if ( $op eq 'export' ) { +if ( $op eq 'export' & $query->param('id_list_file') ) { my $filename = $query->param('id_list_file'); my $mimetype = $query->uploadInfo($filename)->{'Content-Type'}; my @valid_mimetypes = qw( application/octet-stream text/csv text/plain ); --