Commit d9bc2083 authored by Skia's avatar Skia

Randomize le comptage des stats barman

parent a9ffcaa2
......@@ -42,6 +42,7 @@ require_once($topdir . "comptoir/include/cts/product.inc.php");
*/
function first ( $array )
{
shuffle($array); // Évite que le premier barman loggué soit le seul à cliquer
reset($array);
return current($array);
}
......
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