Fixed issue #86.
This commit is contained in:
parent
cffac24889
commit
c824c58c28
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user