From e7a66146a477408936c239739f2de6c88c6cbb5e Mon Sep 17 00:00:00 2001 From: TheTroll Date: Thu, 25 Feb 2010 00:19:30 +0100 Subject: fix --- genplaylist.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genplaylist.php b/genplaylist.php index 17c083b..a30333d 100755 --- a/genplaylist.php +++ b/genplaylist.php @@ -17,7 +17,7 @@ $found = 0; while ($medianame = readdir($dir_handle)) { - if (mediagettype($path .$name) == 2) + if (mediagettype($path .$medianame) == 2) { if ($medianame == $name) $found = 1; -- cgit v1.2.3