From 6a181a4e9a6d49581c6f3389c8fb7e613f057aa7 Mon Sep 17 00:00:00 2001 From: Martin Konecny Date: Wed, 25 May 2011 14:35:31 -0400 Subject: [PATCH] CC-2323: Next song in the top panel not showing -fixed --- airtime_mvc/application/models/Dashboard.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/airtime_mvc/application/models/Dashboard.php b/airtime_mvc/application/models/Dashboard.php index 0d0c622b9..f7d5113b2 100644 --- a/airtime_mvc/application/models/Dashboard.php +++ b/airtime_mvc/application/models/Dashboard.php @@ -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){