lib: Do not setLayout('pdf') twice
This commit is contained in:
parent
ded045e32c
commit
97261cd8bd
|
@ -402,7 +402,6 @@ class ActionController extends Zend_Controller_Action
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($req->getParam('format') === 'pdf') {
|
if ($req->getParam('format') === 'pdf') {
|
||||||
$layout->setLayout('pdf');
|
|
||||||
$this->shutdownSession();
|
$this->shutdownSession();
|
||||||
$this->sendAsPdf();
|
$this->sendAsPdf();
|
||||||
exit;
|
exit;
|
||||||
|
|
Loading…
Reference in New Issue