CC-4984: Exception for replaygain

-fixed
This commit is contained in:
Martin Konecny 2013-02-28 18:26:15 -05:00
parent 5ae4ed67a5
commit ae503121d8
2 changed files with 5 additions and 0 deletions

View file

@ -947,6 +947,10 @@ class ApiController extends Zend_Controller_Action
public function updateReplayGainValueAction()
{
// disable the view and the layout
$this->view->layout()->disableLayout();
$this->_helper->viewRenderer->setNoRender(true);
$request = $this->getRequest();
$data = json_decode($request->getParam('data'));