Replace $type by $vue

This commit is contained in:
Michael RICOIS 2012-07-15 20:40:22 +00:00
parent 6763137d7a
commit 826ebc612c

View File

@ -101,7 +101,7 @@ class JuridiqueController extends Zend_Controller_Action
$this->view->headScript()->appendFile('/themes/default/scripts/saisieannonces.js', 'text/javascript'); $this->view->headScript()->appendFile('/themes/default/scripts/saisieannonces.js', 'text/javascript');
} }
$classType = 'annonces'.ucfirst($type); $classType = 'annonces'.ucfirst($vue);
foreach($objAnnonces->$classType as $ann) { foreach($objAnnonces->$classType as $ann) {
if($ann->id==$idAnn) break; if($ann->id==$idAnn) break;
} }