From ed31df01c07aadcaf02ba78faebfec794dd43a62 Mon Sep 17 00:00:00 2001 From: "Justin Craig-Kuhn (JCK)" Date: Tue, 19 Sep 2023 17:32:09 -0700 Subject: [PATCH] Fix session init --- app/controllers/playlists_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/playlists_controller.rb b/app/controllers/playlists_controller.rb index 4f8d0b97..29913f70 100644 --- a/app/controllers/playlists_controller.rb +++ b/app/controllers/playlists_controller.rb @@ -319,7 +319,7 @@ def clear_session def init_session return if session[:playlist].is_a?(Hash) # Ease into new session format - session[:playlist] ||= EMPTY_PLAYLIST.dup + session[:playlist] = EMPTY_PLAYLIST.dup end def shuffle_tracks