summaryrefslogtreecommitdiffstats
path: root/lib/class/playlist.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/class/playlist.class.php')
-rw-r--r--lib/class/playlist.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/playlist.class.php b/lib/class/playlist.class.php
index 51399b41..49dfdbf9 100644
--- a/lib/class/playlist.class.php
+++ b/lib/class/playlist.class.php
@@ -120,7 +120,7 @@ class Playlist {
foreach ($array as $data) {
- $sql = "SELECT song,dyn_song FROM playlist_data WHERE id='" . sql_escape($data) . "'";
+ $sql = "SELECT song,dyn_song FROM playlist_data WHERE id='" . sql_escape($data) . "' ORDER BY track";
$db_results = mysql_query($sql, dbh());
$r = mysql_fetch_assoc($db_results);