From 6e1c130e3ce8eb58d85ff45edd031169033b2963 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville <rodolphe@quiedeville.org> Date: Thu, 20 Oct 2005 19:19:05 +0000 Subject: [PATCH] Update --- htdocs/telephonie/script/graph-statistiques-clients.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/htdocs/telephonie/script/graph-statistiques-clients.php b/htdocs/telephonie/script/graph-statistiques-clients.php index c9b0933321e..975c812989c 100644 --- a/htdocs/telephonie/script/graph-statistiques-clients.php +++ b/htdocs/telephonie/script/graph-statistiques-clients.php @@ -46,6 +46,10 @@ if ($db->query($sql)) $clientPerChild = ceil($row[0] / $childrenTotal); $db->free(); } +else +{ + exit("Erreur selection des clients"); +} while ( $childrenNow < $childrenTotal ) { @@ -55,7 +59,7 @@ while ( $childrenNow < $childrenTotal ) { die( "error\n" ); } - elseif ( $pid == 0 ) + elseif ( $pid ) { $childrenNow++; } -- GitLab