Ajout de prénoms féminins dans le script de génération aléatoire de société
This commit is contained in:
parent
9666db6cb7
commit
4889b4193e
@ -91,7 +91,7 @@ for ($s = 0 ; $s < GEN_NUMBER_SOCIETE ; $s++)
|
|||||||
$contact = new Contact($db);
|
$contact = new Contact($db);
|
||||||
$contact->socid = $soc->id;
|
$contact->socid = $soc->id;
|
||||||
$contact->name = "NomFamille".$c;
|
$contact->name = "NomFamille".$c;
|
||||||
$prenoms = array("Joe","Marc","Steve","Laurent","Nico");
|
$prenoms = array("Joe","Marc","Steve","Laurent","Nico","Isabelle","Dorothee","Saby","Brigitte","Karine","Jose-Anne","Celine","Virginie");
|
||||||
$contact->firstname = $prenoms[rand(0,sizeof($prenoms)-1)];
|
$contact->firstname = $prenoms[rand(0,sizeof($prenoms)-1)];
|
||||||
if ( $contact->create($user) )
|
if ( $contact->create($user) )
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user