amélioration gestion champs nom
FossilOrigin-Name: 2e194af9739c1603c6471619fe3b9720beb014d8d11442d01a42fc722ca9e790
This commit is contained in:
parent
7d4d305cfa
commit
3e53f19453
8 changed files with 72 additions and 38 deletions
|
|
@ -23,9 +23,9 @@ foreach ($plugin->getConfig('reduction') as $taux)
|
|||
|
||||
// idem avec les champs nom/prénom
|
||||
$nbChamps = 0;
|
||||
if (null !== $plugin->getConfig('nomChamps'))
|
||||
if (null !== $plugin->getConfig('champsNom'))
|
||||
{
|
||||
foreach ($plugin->getConfig('nomChamps') as $nom => $champ)
|
||||
foreach ($plugin->getConfig('champsNom') as $nom => $champ)
|
||||
{
|
||||
if ($champ->position != 0) { ++$nbChamps; }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue