Fix: Use correct order of name-firstname

This commit is contained in:
Laurent Destailleur 2010-07-14 18:50:36 +00:00
parent 1268198f66
commit f7a1f18afd

View File

@ -86,7 +86,7 @@ if ((! $_POST["getcustomercode"] && ! $_POST["getsuppliercode"])
{
$soc->particulier = $_REQUEST["private"];
$soc->nom = $_POST["nom"].' '.$_POST["prenom"];
$soc->nom = empty($conf->global->MAIN_FIRSTNAME_NAME_POSITION)?trim($_POST["prenom"].' '.$_POST["nom"]):trim($_POST["nom"].' '.$_POST["prenom"]);
$soc->nom_particulier = $_POST["nom"];
$soc->prenom = $_POST["prenom"];
$soc->civilite_id = $_POST["civilite_id"];