Right syntax for update

This commit is contained in:
Michael RICOIS 2012-06-01 12:22:19 +00:00
parent 46a3115524
commit 43dfab2b12

View File

@ -137,9 +137,10 @@ if (count($tabEnteteLabel)>0){
}
//Mise à jour des éléments
if ($opts->id) {
$commandesM->update('enrichissement_identifiants', array(
$commandesM->update(array(
'dateStart'=>date('Y-m-d H:i:s'),
'fichier' => basename($outFile)),
'fichier' => basename($outFile)
),
"id = ".$commande->id);
}