summaryrefslogtreecommitdiffstats
path: root/lib/class/catalog.class.php
diff options
context:
space:
mode:
authorFlorent Fourcot <florent.fourcot@enst-bretagne.fr>2012-09-21 10:11:23 -0400
committerPaul Arthur <paul.arthur@flowerysong.com>2012-09-21 10:11:23 -0400
commitc9dab7bf4e63ae29d40e6252c3e4fbf810f34315 (patch)
tree2e39b1a16c0a6f9d6edb2a0074bb4869c69cdb91 /lib/class/catalog.class.php
parentaf4a77d145b0411a3b08b6e87417d27f92ae5d11 (diff)
downloadampache-c9dab7bf4e63ae29d40e6252c3e4fbf810f34315.tar.gz
ampache-c9dab7bf4e63ae29d40e6252c3e4fbf810f34315.tar.bz2
ampache-c9dab7bf4e63ae29d40e6252c3e4fbf810f34315.zip
FS#262 - M3U import should be ordered
Diffstat (limited to 'lib/class/catalog.class.php')
-rw-r--r--lib/class/catalog.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/class/catalog.class.php b/lib/class/catalog.class.php
index 753f7477..9367c925 100644
--- a/lib/class/catalog.class.php
+++ b/lib/class/catalog.class.php
@@ -2320,7 +2320,7 @@ class Catalog extends database_object {
/* Recreate the Playlist */
$playlist = new Playlist($playlist_id);
- $playlist->add_songs($songs);
+ $playlist->add_songs($songs, true);
$reason = sprintf(T_ngettext('Playlist Import and Recreate Successful. Total: %d Song',
'Playlist Import and Recreate Successful. Total: %d Songs',
count($songs)), count($songs));