correction bug dans les id
This commit is contained in:
parent
046db3272d
commit
d99f974c7c
@ -96,7 +96,7 @@ class EnrichissementController extends Zend_Controller_Action
|
||||
$comptage = new Table_Comptages();
|
||||
$sql = $comptage->select()->where('idDefinition = ?', $idCriteres);
|
||||
$result = $comptage->fetchRow($sql);
|
||||
$idComptage = $result['idDefinition'];
|
||||
$idComptage = $result['id'];
|
||||
|
||||
//Récupération des critères du ciblage
|
||||
$criteresM = new Table_Criteres();
|
||||
@ -129,6 +129,7 @@ class EnrichissementController extends Zend_Controller_Action
|
||||
'error' => '',
|
||||
'dateAdded' => date('YmdHms'),
|
||||
);
|
||||
//print_r($data);exit;
|
||||
$identifiantsM = new Table_EnrichissementIdentifiants();
|
||||
$idIdentifiant = $identifiantsM->insert($data);
|
||||
exec('php '.APPLICATION_PATH.'/../batch/enrichissement.php --id '.$idIdentifiant);
|
||||
|
Loading…
Reference in New Issue
Block a user