diff options
author | Paul Arthur <paul.arthur@flowerysong.com> | 2011-10-10 21:45:26 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2011-10-10 21:45:26 -0400 |
commit | e19918277306c99b910aaf20a8a180d0fbda958f (patch) | |
tree | 716b0414ae07942f3470d60b6f9f580b80c0cf6d /modules | |
parent | eefdaccd394417d82a28e18b863516af25014349 (diff) | |
download | ampache-e19918277306c99b910aaf20a8a180d0fbda958f.tar.gz ampache-e19918277306c99b910aaf20a8a180d0fbda958f.tar.bz2 ampache-e19918277306c99b910aaf20a8a180d0fbda958f.zip |
FS#193 - Localplay MPD cannot turn off Repeat or Random
The rewritten MPD module did not allow passing false values to MPD.
Using isset instead of boolean evaluation fixes this.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/mpd/mpd.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mpd/mpd.class.php b/modules/mpd/mpd.class.php index 9eb35187..229329bb 100644 --- a/modules/mpd/mpd.class.php +++ b/modules/mpd/mpd.class.php @@ -290,7 +290,7 @@ class mpd { return false; } - if ($arguments) { + if (isset($arguments)) { if (is_array($arguments)) { foreach ($arguments as $arg) { $command .= ' "' . $arg . '"'; |