Correction conflit avec l'objet du même nom
This commit is contained in:
parent
0a046d046f
commit
b6893999e3
@ -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();
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user