CC-3174 : showbuilder

fixing order of scheduled/playlist data when added via group dragging.
This commit is contained in:
Naomi Aro 2012-02-28 23:52:20 +01:00
parent f39afe9503
commit 5257711866
4 changed files with 32 additions and 25 deletions

View file

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