summaryrefslogtreecommitdiffstats
path: root/functions.php
diff options
context:
space:
mode:
authorarun <arun@nubati.net>2007-05-16 12:34:17 +0000
committerarun <arun>2007-05-16 12:34:17 +0000
commit16206eb9748e85413976815017a1562d12fa08ed (patch)
treea7626309207da50081b94cbc2b4721d9b3a62f08 /functions.php
parentf76fa7b25a6b09c2443680e1ae915cd949704d4e (diff)
downloade-DoKo-16206eb9748e85413976815017a1562d12fa08ed.tar.gz
e-DoKo-16206eb9748e85413976815017a1562d12fa08ed.tar.bz2
e-DoKo-16206eb9748e85413976815017a1562d12fa08ed.zip
found a bug in the shuffling routine
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index a8cdea8..66010ae 100644
--- 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;