Espace dans les siret supprimées
This commit is contained in:
parent
3b56799a75
commit
8a98c1f817
@ -854,8 +854,8 @@ class SaisieController extends Zend_Controller_Action
|
||||
|
||||
case 'copy':
|
||||
|
||||
$siretIn = $request->getParam('siretIn');
|
||||
$siretOut = $request->getParam('siretOut');
|
||||
$siretIn = str_replace(' ', '', $request->getParam('siretIn'));
|
||||
$siretOut = str_replace(' ', '', $request->getParam('siretOut'));
|
||||
$idan = $request->getParam('idan');
|
||||
|
||||
if ( intval($siretIn)!=0 )
|
||||
@ -913,7 +913,7 @@ class SaisieController extends Zend_Controller_Action
|
||||
|
||||
case 'even':
|
||||
|
||||
$siret = $request->getParam('siret');
|
||||
$siret = str_replace(' ', '', $request->getParam('siret'));
|
||||
$idan = $request->getParam('idan');
|
||||
$codeEven = $request->getParam('even');
|
||||
$siren = substr($siret,0,9);
|
||||
|
Loading…
x
Reference in New Issue
Block a user