Replace $type by $vue
This commit is contained in:
parent
6763137d7a
commit
826ebc612c
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user