Ensure Hulu output is correct whether or not a video has both a series and a title associated with it.
This commit is contained in:
parent
1abf895b9e
commit
6a22a3580a
1 changed files with 2 additions and 2 deletions
|
@ -170,8 +170,8 @@ function hulu() {
|
|||
$thumb);
|
||||
|
||||
return array(
|
||||
'series' => isset($title[2]) ? $title[2] : 'Not Available',
|
||||
'title' => $title[0],
|
||||
'series' => isset($title[2]) ? $title[0] : 'Not Available',
|
||||
'title' => isset($title[2]) ? $title[2] : $title[0],
|
||||
'time' => strtotime($lastShow->pubDate),
|
||||
'url' => (string)$lastShow->link,
|
||||
'thumb' => $thumb[1],
|
||||
|
|
Loading…
Reference in a new issue