From d452049790156c6c10b48e96657181f41aed0d69 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 26 Feb 2011 02:55:35 +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 af91f9eb4e7..e7a8a4bdba9 100644 --- a/htdocs/adherents/fiche.php +++ b/htdocs/adherents/fiche.php @@ -178,7 +178,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) {