summaryrefslogtreecommitdiffstats
path: root/batch.php
diff options
context:
space:
mode:
Diffstat (limited to 'batch.php')
-rw-r--r--batch.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/batch.php b/batch.php
index 275a77a8..5256c2da 100644
--- a/batch.php
+++ b/batch.php
@@ -53,7 +53,9 @@ switch ($_REQUEST['action']) {
$name = $artist->name;
break;
case 'browse':
- $media_ids = Browse::get_saved();
+ $id = scrub_in($_REQUEST['browse_id']);
+ $browse = new Browse($id);
+ $media_ids = $browse->get_saved();
$name = 'Batch-' . date("dmY",time());
default:
// Rien a faire