Fix bug in MPD/Common where playlist version numbers would not be properly returned...
authorJoshua Wise <joshua@h2so4.joshuawise.com>
Sat, 21 Nov 2009 22:45:11 +0000 (17:45 -0500)
committerJoshua Wise <joshua@h2so4.joshuawise.com>
Sat, 21 Nov 2009 22:45:11 +0000 (17:45 -0500)
inc/Net/MPD/Common.php

index d921154..6fefdad 100644 (file)
@@ -358,7 +358,7 @@ class Net_MPD_Common
                     // This is to determine if it was in a status call
                     // or in a directory call.
                     case 'playlist':
-                        if ($prev['key'] == 'random') {
+                        if ($output['status']) {
                             $output['status'][$key] = $value;
                         } else {
                             $output[$key][] = $value;
This page took 0.014155 seconds and 4 git commands to generate.