From 8e80c703fad425b3add428bcec02d56cdd811b3a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 4 Jan 2009 22:19:25 +0000 Subject: [PATCH] Use idate and jdate to store date --- htdocs/comm/action/fiche.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/htdocs/comm/action/fiche.php b/htdocs/comm/action/fiche.php index 14824fac536..8fa422c20c8 100644 --- a/htdocs/comm/action/fiche.php +++ b/htdocs/comm/action/fiche.php @@ -373,13 +373,7 @@ if ($_POST["action"] == 'update') if (! $error) { $db->begin(); - //print $_POST["aphour"].','.$_POST["apmin"].',0,'.$_POST["apmonth"].','.$_POST["apday"].','.$_POST["apyear"]; - //print $actioncomm->datep; - //print gmmktime($_POST["aphour"],$_POST["apmin"],0,$_POST["apmonth"],$_POST["apday"],$_POST["apyear"]); - //print $actioncomm->datep; // This is a GMT time - //print '-'.$db->idate($actioncomm->datep); - //print '-'.$db->jdate('19700101020000'); - //print '-'.$db->gm($actioncomm->datep); + $result=$actioncomm->update($user); if ($result > 0)