From 29fd728d7d6089a46576ac165a4c35489e22114b Mon Sep 17 00:00:00 2001 From: Albert Santoni Date: Thu, 20 Nov 2014 14:30:42 -0500 Subject: [PATCH] Undo live stream auth action breakage --- airtime_mvc/application/controllers/ApiController.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/airtime_mvc/application/controllers/ApiController.php b/airtime_mvc/application/controllers/ApiController.php index a369dfb32..fde52a369 100644 --- a/airtime_mvc/application/controllers/ApiController.php +++ b/airtime_mvc/application/controllers/ApiController.php @@ -1225,11 +1225,10 @@ class ApiController extends Zend_Controller_Action } elseif ($djtype == "dj") { //check against show dj auth $showInfo = Application_Model_Show::getCurrentShow(); - $showInfo = $showInfo[0]; //When did this change??? - Albert // there is current playing show - if (isset($showInfo['id'])) { - $current_show_id = $showInfo['id']; + if (isset($showInfo[0]['id'])) { + $current_show_id = $showInfo[0]['id']; $CcShow = CcShowQuery::create()->findPK($current_show_id); // get custom pass info from the show