Acte association : correction url de téléchargement du fichier
This commit is contained in:
parent
a9c63bda99
commit
3f0c5ff9cc
@ -836,7 +836,7 @@ class PiecesController extends Zend_Controller_Action
|
||||
Zend_Registry::get('firebug')->info($item);
|
||||
if ( $user->checkPerm('actes') ) {
|
||||
$href = $this->view->url(array('controller'=>'pieces', 'action'=>'associationacte',
|
||||
'date'=> $item->Date), 'default', true);
|
||||
'siren'=>$siren, 'date'=> $item->Date), 'default', true);
|
||||
$title = 'Télécharger le document correspondant';
|
||||
} else {
|
||||
$href = '#';
|
||||
@ -869,11 +869,9 @@ class PiecesController extends Zend_Controller_Action
|
||||
{
|
||||
// --- Désactivation affichage
|
||||
$this->_helper->layout()->disableLayout();
|
||||
$this->_helper->viewRenderer->setNoRender(true);
|
||||
|
||||
$siren = substr($this->siret, 0,9);
|
||||
|
||||
$request = $this->getRequest();
|
||||
$siren = $request->getParam('siren');
|
||||
$date = $request->getParam('date');
|
||||
|
||||
// --- Chemin du fichier
|
||||
|
Loading…
Reference in New Issue
Block a user