Commit 4611472b authored by mbriand's avatar mbriand
Browse files

Bug sondage

parent 56591e40
......@@ -653,7 +653,11 @@ class site extends interfaceweb
foreach ( $res as $re )
{
$cumul+=$re[1];
$pc = $re[1]*100/$sdn->total;
if ($sdn->total > 0)
$pc = $re[1]*100/$sdn->total;
else
$pc = 0;
$cts->puts($re[0]."<br/>");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment