From f6dcd650783f55ef70719bac38e295d4f6737460 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Mon, 9 Jun 2008 20:14:47 +0000 Subject: [PATCH] Fix: Creation of social contribution --- htdocs/compta/sociales/charges.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/sociales/charges.php b/htdocs/compta/sociales/charges.php index 4c5abb8d1e4..3d6e3fdbf24 100644 --- a/htdocs/compta/sociales/charges.php +++ b/htdocs/compta/sociales/charges.php @@ -112,7 +112,7 @@ if ($_POST["action"] == 'add' && $user->rights->tax->charges->creer) { $chargesociales=new ChargeSociales($db); - $chargesociales->type=$_POST["type"]; + $chargesociales->type=$_POST["actioncode"]; $chargesociales->lib=$_POST["label"]; $chargesociales->date_ech=$dateech; $chargesociales->periode=$_POST["period"];