From f0385cadc3b6e6632e7deac76abd6307d90203a2 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 9 Sep 2010 22:59:42 +0000 Subject: [PATCH] Work on invoice creation when creating subscription --- htdocs/adherents/card_subscriptions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/adherents/card_subscriptions.php b/htdocs/adherents/card_subscriptions.php index a940e0cb908..b606076b25d 100644 --- a/htdocs/adherents/card_subscriptions.php +++ b/htdocs/adherents/card_subscriptions.php @@ -253,7 +253,7 @@ if ($user->rights->adherent->cotisation->creer && $_POST["action"] == 'cotisatio $acct=new Account($db); $result=$acct->fetch($accountid); - $dateop=time(); + $dateop=dol_now(); $insertid=$acct->addline($dateop, $operation, $label, $cotisation, $num_chq, '', $user, $emetteur_nom, $emetteur_banque); if ($insertid > 0)