From 7ead320903fe722f2e94790f57006ebc74a67c4b Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 26 Feb 2011 02:54:36 +0000 Subject: [PATCH] Fix: Bad parameter --- htdocs/adherents/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/adherents/fiche.php b/htdocs/adherents/fiche.php index 7fe6e2b4885..cd3c08c0853 100644 --- a/htdocs/adherents/fiche.php +++ b/htdocs/adherents/fiche.php @@ -173,7 +173,7 @@ if ($_POST["action"] == 'confirm_create_thirdparty' && $_POST["confirm"] == 'yes { // Creation user $company = new Societe($db); - $result=$company->create_from_member($adh,$_POST["name"]); + $result=$company->create_from_member($adh,$_POST["companyname"]); if ($result < 0) {