Fixed issue #86.

This commit is contained in:
Rooty 2021-09-14 00:24:50 +02:00
parent cffac24889
commit c824c58c28

View File

@ -72,12 +72,16 @@ Class Community extends CoordinationObj
{
$lib=$tab[$i]->getLibelle($currentCode);
$key = $tab[$i]->getId();
$pub = $tab[$i]->getListPublic();
$reg = $tab[$i]->getRegisterEnable();
if ($lib=="")
{
$lib=$tabNode[$i]->getLibelle($defaultCode);
}
$tabNode[$i][0]= $key;
$tabNode[$i][1]= $lib;
$tabNode[$i][2]= $pub;
$tabNode[$i][3]= $reg;
}
krsort($tabNode);
@ -115,7 +119,7 @@ Class Community extends CoordinationObj
//Parcours des noeuds
for($i= (count($tabNode)-1);$i>0;$i--)
{
if ($tabNode[$i][0] != 2 && $tabNode[$i][0] != 3)
if ($tabNode[$i][0] != 2 && $tabNode[$i][0] != 3 && $tabNode[$i][2] == "on")
{
if( $nbPrint < 12)
{