mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-05 10:49:37 +02:00
Change Browse from static to instantiable. Among other things, fixes FS#13;
probably also breaks things. Most things appear to still work, but I may have missed some cases.
This commit is contained in:
parent
c1ed41a16d
commit
7f36693353
39 changed files with 754 additions and 673 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue