Fix bug in MPD/Common where playlist version numbers would not be properly returned...
[patchfork.git] / 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.016205 seconds and 4 git commands to generate.