diff --git a/htdocs/adherents/index.php b/htdocs/adherents/index.php index aea3871a861..85941d318d6 100644 --- a/htdocs/adherents/index.php +++ b/htdocs/adherents/index.php @@ -208,7 +208,7 @@ foreach ($Total as $key=>$value) } // Total -print ''.$langs->trans("Total").''.price($tot)."".$numb."".price($tot/$numb)."\n"; +print ''.$langs->trans("Total").''.price($tot)."".$numb."".price($numb>0?($tot/$numb):0)."\n"; print "
\n"; print '';