From 4648af39346cb61f08539ad91a2952a9c51f2284 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 2 Nov 2004 22:26:34 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20La=20date=20de=20l'action=20n'=E9tait=20?= =?UTF-8?q?pas=20correctement=20report=E9=20au=20module=20webcalendar.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/action/fiche.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index a0ade0ee56d..831b7e26ea3 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -117,7 +117,12 @@ if ($_POST["action"] == 'add_action') $libelle = $actioncomm->libelle; } - $webcal->date=$actioncomm->date; + $webcal->date=mktime($_POST["heurehour"], + $_POST["heuremin"], + 0, + $_POST["acmonth"], + $_POST["acday"], + $_POST["acyear"]); $webcal->texte=$societe->nom; $webcal->desc=$libelle; }