From 2047792889ffa2c1a2013281d25fed29662e7e03 Mon Sep 17 00:00:00 2001 From: "Justin Craig-Kuhn (JCK)" Date: Tue, 19 Sep 2023 17:29:48 -0700 Subject: [PATCH] Ease into new session format --- app/controllers/playlists_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/playlists_controller.rb b/app/controllers/playlists_controller.rb index 7d0b234d..4f8d0b97 100644 --- a/app/controllers/playlists_controller.rb +++ b/app/controllers/playlists_controller.rb @@ -318,6 +318,7 @@ def clear_session end def init_session + return if session[:playlist].is_a?(Hash) # Ease into new session format session[:playlist] ||= EMPTY_PLAYLIST.dup end