Fix count show 0 if empty
This commit is contained in:
parent
44b6b8cc65
commit
838958a888
@ -333,7 +333,7 @@ if (empty($user->societe_id))
|
||||
$boxstat.='<a href="'.$links[$key].'" class="boxstatsindicator thumbstat nobold nounderline">';
|
||||
$boxstat.='<div class="boxstats">';
|
||||
$boxstat.='<span class="boxstatstext" title="'.dol_escape_htmltag($text).'">'.img_object("",$icons[$key]).' '.$text.'</span><br>';
|
||||
$boxstat.='<span class="boxstatsindicator">'.$board->nb[$val].'</span>';
|
||||
$boxstat.='<span class="boxstatsindicator">'.($board->nb[$val]?$board->nb[$val]:0).'</span>';
|
||||
$boxstat.='</div>';
|
||||
$boxstat.='</a>';
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user