CC-1665: Scheduled stream rebroadcasting and recording

-Fix scheduled streams mixed with scheduled files
This commit is contained in:
Martin Konecny 2012-07-26 14:41:09 -04:00
parent ccdc06786d
commit eb4c23b0b6
9 changed files with 29 additions and 22 deletions

View file

@ -293,8 +293,8 @@ class PlaylistController extends Zend_Controller_Action
public function addItemsAction()
{
$aItems = $this->_getParam('aItems', array());
$aItems = (!is_array($aItems)) ? array($aItems) : $aItems;
$ids = $this->_getParam('aItems', array());
$ids = (!is_array($ids)) ? array($ids) : $ids;
$afterItem = $this->_getParam('afterItem', null);
$addType = $this->_getParam('type', 'after');
$obj_type = $this->_getParam('obj_type');