Fix typo in query

This commit is contained in:
DariusIII
2018-03-07 13:06:43 +01:00
parent eb991edb80
commit 71b353c5a1
+1 -1
View File
@@ -226,7 +226,7 @@ abstract class TV extends Videos
}
if ($videoId === false) {
$title = Video::query()->where('title', $show['title'])->first('title');
$title = Video::query()->where('title', $show['title'])->first(['title']);
if ($title !== null) {
// Insert the Show
$videoId = Video::query()->insertGetId([