Undo live stream auth action breakage

This commit is contained in:
Albert Santoni 2014-11-20 14:30:42 -05:00
parent 0890de4cdd
commit 29fd728d7d

View file

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