projects
/
e-DoKo.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
found a bug in the shuffling routine
[e-DoKo.git]
/
functions.php
diff --git
a/functions.php
b/functions.php
index a8cdea8288369c2f3c22c19b58aa71d8814f80fe..66010aed18546a9d7573cae5c89194a12fd7c51a 100644
(file)
--- a/
functions.php
+++ b/
functions.php
@@
-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;