Correction SQL
This commit is contained in:
parent
46c218eff9
commit
b663d8fa17
@ -101,7 +101,7 @@ if ( isset($opts->rapport) || isset($opts->rapportcomplet) )
|
||||
$timestamp = mktime(0, 0, 0, date("m"), date("d")-1, date("Y"));
|
||||
$hier = date('Y-m-d', $timestamp);
|
||||
$sujet = "[Commandes Greffe - Erreur WebService] - ".$hier;
|
||||
$sql = $commandesM->select()->where("(dateCommande BETWEEN '".$hier." 00:00:00' AND '".$hier." 23:59:59') AND erreur!='' AND dateReception='0000-00-00 00:00:00' ORDER BY dateCommande ASC");
|
||||
$sql = $commandesM->select()->where("(dateCommande BETWEEN '".$hier." 00:00:00' AND '".$hier." 23:59:59') AND erreur!='' AND dateReception='0000-00-00 00:00:00' ORDER BY dateCommande ASC");
|
||||
}
|
||||
$repErreur = $commandesM->fetchAll($sql);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user