found a bug in the shuffling routine
[e-DoKo.git] / functions.php
index a8cdea8288369c2f3c22c19b58aa71d8814f80fe..66010aed18546a9d7573cae5c89194a12fd7c51a 100644 (file)
@@ -442,7 +442,7 @@ function  create_array_of_random_numbers()
       for($i=0;$i<48;$i++)
        $a[$i]=$i+1;
       
-      $r = array_rand($a,48);
+      $r = shuffle($a);
     };
 
   return $r;