summaryrefslogtreecommitdiffstats
path: root/stream.php
diff options
context:
space:
mode:
authorPaul Arthur <paul.arthur@flowerysong.com>2012-03-06 12:18:57 -0500
committerPaul Arthur <paul.arthur@flowerysong.com>2012-03-06 12:18:57 -0500
commit34b0eaf23341c00dae5a809249445549f5abbc53 (patch)
tree781bf6742b1d07eb9f5615c47919bf3b251f1e6d /stream.php
parent08a4f848be123b9ac3a1b59e0ce0821e6df9fe26 (diff)
downloadampache-34b0eaf23341c00dae5a809249445549f5abbc53.tar.gz
ampache-34b0eaf23341c00dae5a809249445549f5abbc53.tar.bz2
ampache-34b0eaf23341c00dae5a809249445549f5abbc53.zip
Clean up uses of Config::set and Config::set_by_array
Consistently pass in a boolean instead of a string or an int for the clobber flag.
Diffstat (limited to 'stream.php')
-rw-r--r--stream.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream.php b/stream.php
index b57eb95b..b5230a5d 100644
--- a/stream.php
+++ b/stream.php
@@ -156,7 +156,7 @@ switch ($_REQUEST['method']) {
case 'democratic':
// Don't let them loop it
if (Config::get('play_type') == 'democratic') {
- Config::set('play_type','stream','1');
+ Config::set('play_type', 'stream', true);
}
default:
if (Config::get('play_type') == 'stream') {