Fix: Supprime warning si date incorrecte
This commit is contained in:
parent
731b50e703
commit
5905c1d61c
@ -76,7 +76,8 @@ if ($_POST['action'] == 'classin' && $user->rights->commande->creer)
|
|||||||
// Ajout commande
|
// Ajout commande
|
||||||
if ($_POST['action'] == 'add' && $user->rights->commande->creer)
|
if ($_POST['action'] == 'add' && $user->rights->commande->creer)
|
||||||
{
|
{
|
||||||
$datecommande = mktime(12, 0 , 0, $_POST['remonth'], $_POST['reday'], $_POST['reyear']);
|
$datecommande='';
|
||||||
|
$datecommande = @mktime(12, 0 , 0, $_POST['remonth'], $_POST['reday'], $_POST['reyear']);
|
||||||
|
|
||||||
$commande = new Commande($db);
|
$commande = new Commande($db);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user