diff options
| author | Zach DeCook <zachdecook@gmail.com> | 2018-12-27 16:10:13 +0000 |
|---|---|---|
| committer | Zach DeCook <zachdecook@gmail.com> | 2018-12-27 16:10:13 +0000 |
| commit | e31c45a0482cb14b49175f983e466d96aa409ae6 (patch) | |
| tree | 3c41334d6a1911e13169991c97ad56ac9b6e41f8 /laravel/app/Http/Controllers/SongController.php | |
| parent | 1a9c3529c32df34b92538bb6599cf609fdf9bb3c (diff) | |
| download | prosongsa-e31c45a0482cb14b49175f983e466d96aa409ae6.tar.gz | |
* Deployment: Fix issues
Diffstat (limited to 'laravel/app/Http/Controllers/SongController.php')
| -rw-r--r-- | laravel/app/Http/Controllers/SongController.php | 2 |
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 ] ); |
