summaryrefslogtreecommitdiffstats
path: root/localplay.php
diff options
context:
space:
mode:
authorPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-06-10 05:33:57 +0000
committerPaul 'flowerysong' Arthur <flowerysong00@yahoo.com>2010-06-10 05:33:57 +0000
commit7f3669335313adf9108119df4186a51a5f94e292 (patch)
treef8b488a09df2198723de5661b050bc31e112b7ab /localplay.php
parentc1ed41a16dcbf1a632ad2ac99b40174628bf072e (diff)
downloadampache-7f3669335313adf9108119df4186a51a5f94e292.tar.gz
ampache-7f3669335313adf9108119df4186a51a5f94e292.tar.bz2
ampache-7f3669335313adf9108119df4186a51a5f94e292.zip
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.
Diffstat (limited to 'localplay.php')
-rw-r--r--localplay.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/localplay.php b/localplay.php
index 5c325dfd..9bc22c3a 100644
--- a/localplay.php
+++ b/localplay.php
@@ -82,9 +82,11 @@ switch ($_REQUEST['action']) {
// Pull the current playlist and require the template
$objects = $localplay->get();
require_once Config::get('prefix') . '/templates/show_localplay_status.inc.php';
- Browse::set_type('playlist_localplay');
- Browse::set_static_content(1);
- Browse::show_objects($objects);
+ $browse = new Browse();
+ $browse->set_type('playlist_localplay');
+ $browse->set_static_content(true);
+ $browse->show_objects($objects);
+ $browse->store();
break;
} // end switch action