Debug enregistrement profil
This commit is contained in:
parent
700499dd47
commit
d37b8b74f3
@ -73,6 +73,7 @@ class ProfilController extends Zend_Controller_Action
|
||||
$this->view->assign('criteres', $tmp);
|
||||
$this->view->assign('reference', $profil->current()->reference);
|
||||
}
|
||||
|
||||
$this->view->assign('doublon', $doublon);
|
||||
$this->view->assign('id', $id);
|
||||
$this->view->assign('edit', true);
|
||||
@ -95,7 +96,7 @@ class ProfilController extends Zend_Controller_Action
|
||||
$data = array(
|
||||
'reference' => $reference,
|
||||
'criteres' => json_encode($criteres),
|
||||
'doublon' => json_encode($doublon),
|
||||
'doublon' => ($doublon!='') ? json_encode($doublon) : '',
|
||||
);
|
||||
|
||||
$id = $request->getParam('id', null);
|
||||
@ -112,6 +113,7 @@ class ProfilController extends Zend_Controller_Action
|
||||
Zend_Registry::get('firebug')->info($e->getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
if ( $result ){
|
||||
echo '';
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user