diff --git a/app/Commands/EditTrackCommand.php b/app/Commands/EditTrackCommand.php index ebfc27d9..e98a280f 100644 --- a/app/Commands/EditTrackCommand.php +++ b/app/Commands/EditTrackCommand.php @@ -181,7 +181,7 @@ class EditTrackCommand extends CommandBase if (isset($this->_input['hwc_submit']) && new \DateTime() < new \DateTime("2016-12-18 00:00:00")) { $playlist = Playlist::where('user_id', 22549)->first(); - if ($this->_input['hwc_submit'] == true) { + if ($this->_input['hwc_submit'] == 'true') { if (!$playlist->tracks()->get()->contains($track)) { $songIndex = $playlist->trackCount() + 1; $playlist->tracks()->attach($track, ['position' => $songIndex]);