diff --git a/application/controllers/ProfilController.php b/application/controllers/ProfilController.php index be98847b..9ea02113 100644 --- a/application/controllers/ProfilController.php +++ b/application/controllers/ProfilController.php @@ -91,8 +91,7 @@ class ProfilController extends Zend_Controller_Action $criteres = $request->getParam('criteres'); $doublon = $request->getParam('doublon'); - $db = Zend_Registry::get('db'); - $profilM = new Application_Model_Profil($db); + $profilM = new Application_Model_Profil(); $data = array( 'reference' => $reference, 'criteres' => json_encode($criteres),