From 16206eb9748e85413976815017a1562d12fa08ed Mon Sep 17 00:00:00 2001 From: arun Date: Wed, 16 May 2007 12:34:17 +0000 Subject: found a bug in the shuffling routine --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'functions.php') 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; -- cgit v1.2.3-18-g5258