issue #0001350 : Init doublon

This commit is contained in:
Michael RICOIS 2013-01-25 07:58:46 +00:00
parent 01306f5a1c
commit 748d9e17dc

View File

@ -45,7 +45,10 @@ class ProfilController extends Zend_Controller_Action
$profilM = new Application_Model_Profil();
$profil = $profilM->find($id);
$criteres = json_decode($profil->current()->criteres, true);
$doublon = json_decode($profil->current->doublon, true);
$doublon = array();
if( $profil->current->doublon!='' ) {
$doublon = json_decode($profil->current->doublon, true);
}
$this->view->assign('doublon', $doublon);
$tmp = array();
foreach ($criteres as $critere) {