1
0
Fork 0

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:
Andrew Tomaka 2011-10-16 04:15:48 -04:00
parent 1abf895b9e
commit 6a22a3580a
1 changed files with 2 additions and 2 deletions

View File

@ -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],