Skip to content
Snippets Groups Projects
Commit 6e1c130e authored by Rodolphe Quiedeville's avatar Rodolphe Quiedeville
Browse files

Update

parent b9cff6d2
No related branches found
No related tags found
No related merge requests found
......@@ -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++;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment