]> Joshua Wise's Git repositories - patchfork.git/commitdiff
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 d92115428f13fee93a07d8119f6dc8700e2a26b7..6fefdad02ede4868707fdfd3acbbca373600cf62 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.024806 seconds and 4 git commands to generate.