commit | a3e6224d8eeddce7b86c8fe122e84c91a570d882 | [log] [tgz] |
---|---|---|
author | Robin Sowell <robin.sowell@ellislab.com> | Fri Feb 11 14:32:28 2011 -0500 |
committer | Robin Sowell <robin.sowell@ellislab.com> | Fri Feb 11 14:32:28 2011 -0500 |
tree | b186ca3aac2544ec13c668bf6cccf4b1fb4ba845 | |
parent | e88677115fc0167d6eb3e723d4ccf75e20b9ed68 [diff] | |
parent | 02b3a5b49ffc4226c1980e8186de43f9ead29a9a [diff] |
branch merge
diff --git a/system/helpers/array_helper.php b/system/helpers/array_helper.php index 6b2415d..075a31f 100644 --- a/system/helpers/array_helper.php +++ b/system/helpers/array_helper.php
@@ -69,6 +69,7 @@ { return $array; } + return $array[array_rand($array)]; } }