Correction conflit avec l'objet du même nom

This commit is contained in:
Michael RICOIS 2012-05-10 11:44:28 +00:00
parent 0a046d046f
commit b6893999e3
2 changed files with 3 additions and 1 deletions

View File

@ -25,6 +25,7 @@ class JuridiqueController extends Zend_Controller_Action
public function completedAction()
{
require_once APPLICATION_PATH . '/models/FormeJuridique.php';
$table = new Application_Model_FormJuridique();
$this->_helper->layout()->disableLayout();
$this->_helper->viewRenderer->setNoRender();

View File

@ -24,7 +24,7 @@ Class Fields
'siege' => array(
'label' => 'Type d\'établissement',
'fields' => array(
'select' => array('value' => array('1' => 'Sièges uniquement', '0' => 'Secondaires')),
'select' => array('value' => array('1' => 'Sièges', '0' => 'Secondaires')),
),
'famille' => 'entreprise',
'activated' => true,
@ -1015,6 +1015,7 @@ Class Fields
protected function fj($name, $valeur)
{
require_once APPLICATION_PATH . '/models/FormeJuridique.php';
$table = new Application_Model_FormJuridique();
if(strlen($valeur) < 5) {