X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=app%2FHttp%2FControllers%2FEpisodeController.php;fp=app%2FHttp%2FControllers%2FEpisodeController.php;h=785a24186f950e258a0dbe1afa851279e0412375;hb=1d950b14a85fd9eae8795f368ec274c90cb6efd4;hp=4e93427836287daea50cf6645cfaa638c5d22b59;hpb=51a752c7cce2465043dfb3d63a0152b64765b167;p=alttp.git diff --git a/app/Http/Controllers/EpisodeController.php b/app/Http/Controllers/EpisodeController.php index 4e93427..785a241 100644 --- a/app/Http/Controllers/EpisodeController.php +++ b/app/Http/Controllers/EpisodeController.php @@ -56,6 +56,7 @@ class EpisodeController extends Controller if (isset($validatedData['add'])) { $crew = $episode->crew() + ->where('channel_id', '=', $channel->id) ->where('user_id', '=', $validatedData['add']) ->where('role', '=', $validatedData['role']) ->first();