CC-6129: Static smart block errors don't appear
This commit is contained in:
parent
a17001a90a
commit
6046f8843b
2 changed files with 2 additions and 5 deletions
|
@ -595,10 +595,7 @@ class PlaylistController extends Zend_Controller_Action
|
|||
$this->view->obj = $bl;
|
||||
$this->view->id = $bl->getId();
|
||||
$this->view->form = $form;
|
||||
$viewPath = 'playlist/smart-block.phtml';
|
||||
$result['html'] = $this->view->render($viewPath);
|
||||
$result['result'] = 1;
|
||||
$this->_helper->json->sendJson($result);
|
||||
$this->createFullResponse($bl, false, true);
|
||||
}
|
||||
} catch (BlockNotFoundException $e) {
|
||||
$this->playlistNotFound('block', true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue