about summary refs log tree commit diff
path: root/laravel/app/Http
diff options
context:
space:
mode:
Diffstat (limited to 'laravel/app/Http')
-rw-r--r--laravel/app/Http/Controllers/SongController.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/laravel/app/Http/Controllers/SongController.php b/laravel/app/Http/Controllers/SongController.php
index 15a9c34..00216ce 100644
--- a/laravel/app/Http/Controllers/SongController.php
+++ b/laravel/app/Http/Controllers/SongController.php
@@ -35,7 +35,7 @@ class SongController extends Controller
         }
         $song['escapedText'] = $newText;
         $playlist = NULL;
-        if ( $_GET['playlist'] ){
+        if ( $_GET['playlist'] ?? FALSE ){
             $playlist = Playlist::find($_GET['playlist'] ) ?? NULL;
         }
         return view('song', ['song' => $song, 'transp' => $transp, 'playlist' => $playlist ] );