summaryrefslogtreecommitdiffstats
path: root/templates/show_search_options.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_search_options.inc.php')
-rw-r--r--templates/show_search_options.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/show_search_options.inc.php b/templates/show_search_options.inc.php
index dad9d733..1d890767 100644
--- a/templates/show_search_options.inc.php
+++ b/templates/show_search_options.inc.php
@@ -40,7 +40,7 @@
</li>
<?php if (Access::check_function('batch_download')) { ?>
<li>
- <a href="<?php echo Config::get('web_path'); ?>/batch.php?action=browse&browse_id=<?php echo $browse->id; ?>"><?php echo get_user_icon('batch_download', _('Batch Download')); ?></a>
+ <a href="<?php echo Config::get('web_path'); ?>/batch.php?action=browse&amp;type=<?php echo scrub_out($_REQUEST['type']); ?>&amp;browse_id=<?php echo $browse->id; ?>"><?php echo get_user_icon('batch_download', _('Batch Download')); ?></a>
<?php echo _('Batch Download'); ?>
</li>
<?php } ?>