diff --git a/htdocs/index.php b/htdocs/index.php index 90c014b0e99..187273ef2b4 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -333,7 +333,7 @@ if (empty($user->societe_id)) $boxstat.=''; $boxstat.='
'; $boxstat.=''.img_object("",$icons[$key]).' '.$text.'
'; - $boxstat.=''.$board->nb[$val].''; + $boxstat.=''.($board->nb[$val]?$board->nb[$val]:0).''; $boxstat.='
'; $boxstat.='
'; }