Fix: Bad parameter

This commit is contained in:
Laurent Destailleur 2011-02-26 02:55:35 +00:00
parent fc1087ac8d
commit d452049790

View File

@ -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)
{