mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-30 09:48:55 +00:00
Fix getTrailer function query
This commit is contained in:
Generated
+4
-4
@@ -139,7 +139,7 @@
|
||||
}
|
||||
],
|
||||
"description": "PHP Wrapper for Accessing the Steam Storefront API",
|
||||
"time": "2017-08-27T15:14:06+00:00"
|
||||
"time": "2017-08-27 15:14:06"
|
||||
},
|
||||
{
|
||||
"name": "barracudanetworks/forkdaemon-php",
|
||||
@@ -1473,7 +1473,7 @@
|
||||
}
|
||||
],
|
||||
"description": "A PHP library that acts as a wrapper for the GiantBomb API.",
|
||||
"time": "2017-05-29T12:05:57+00:00"
|
||||
"time": "2017-05-29 12:05:57"
|
||||
},
|
||||
{
|
||||
"name": "dnoegel/php-xdg-base-dir",
|
||||
@@ -2633,7 +2633,7 @@
|
||||
}
|
||||
],
|
||||
"description": "TVMaze-API-Wrapper",
|
||||
"time": "2016-05-04T01:31:56+00:00"
|
||||
"time": "2016-05-04 01:31:56"
|
||||
},
|
||||
{
|
||||
"name": "kbjr/Git.php",
|
||||
@@ -2659,7 +2659,7 @@
|
||||
"source": "https://github.com/kbjr/Git.php/tree/master",
|
||||
"issues": "https://github.com/kbjr/Git.php/issues"
|
||||
},
|
||||
"time": "2015-03-31T14:10:29+00:00"
|
||||
"time": "2015-03-31 14:10:29"
|
||||
},
|
||||
{
|
||||
"name": "kevinrob/guzzle-cache-middleware",
|
||||
|
||||
+1
-1
@@ -456,7 +456,7 @@ class Movie
|
||||
return false;
|
||||
}
|
||||
|
||||
$trailer = MovieInfo::query()->where('imdbid', $imdbID)->where('trailer', '!=', '')->first('trailer');
|
||||
$trailer = MovieInfo::query()->where('imdbid', $imdbID)->where('trailer', '!=', '')->first(['trailer']);
|
||||
if ($trailer !== null) {
|
||||
return $trailer['trailer'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user