summaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-03-06 04:55:19 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-03-06 04:55:19 +0000
commit84b483c99a32452dc53b9b77fdf818c710bcd5d3 (patch)
tree62aa6939acb5434bb530d327f78ba3329b146fb7 /server
parent2c337852cff31297d681fb87d3098cc3d9041101 (diff)
downloadampache-84b483c99a32452dc53b9b77fdf818c710bcd5d3.tar.gz
ampache-84b483c99a32452dc53b9b77fdf818c710bcd5d3.tar.bz2
ampache-84b483c99a32452dc53b9b77fdf818c710bcd5d3.zip
fixed playlist update on full strict of mysql5.x and jpg mime type
Diffstat (limited to 'server')
-rw-r--r--server/playlist.ajax.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/playlist.ajax.php b/server/playlist.ajax.php
index f5904bd6..bfd32967 100644
--- a/server/playlist.ajax.php
+++ b/server/playlist.ajax.php
@@ -50,6 +50,7 @@ switch ($_REQUEST['action']) {
// generate the new playlist
$playlist_id = Playlist::create($name,'public');
+ if (!$playlist_id) { break; }
$playlist = new Playlist($playlist_id);
// Itterate through and add them to our new playlist