diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/playlist.ajax.php | 1 |
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 |