CC-2323: Next song in the top panel not showing

-fixed
This commit is contained in:
Martin Konecny 2011-05-25 14:35:31 -04:00
parent e8dab2340a
commit 6a181a4e9a
1 changed files with 3 additions and 2 deletions

View File

@ -87,8 +87,9 @@ class Application_Model_Dashboard
if (count($row) == 0){
return null;
} else {
//should never reach here. Doesnt make sense to have
//a schedule item not within a show_instance.
return array("name"=>$row[0]["artist_name"]." - ".$row[0]["track_title"],
"starts"=>$row[0]["starts"],
"ends"=>$row[0]["ends"]);
}
} else {
if (count($row) == 0){