diff options
author | Robin Sowell <robin.sowell@ellislab.com> | 2011-01-30 23:30:54 +0100 |
---|---|---|
committer | Robin Sowell <robin.sowell@ellislab.com> | 2011-01-30 23:30:54 +0100 |
commit | e88677115fc0167d6eb3e723d4ccf75e20b9ed68 (patch) | |
tree | 2ddda68e791c8e70be19656031280143286fa144 /system/helpers/array_helper.php | |
parent | 0ecc06220733d180c181eb0133b10e66d509658c (diff) |
white space tweak to fix repo.
Diffstat (limited to 'system/helpers/array_helper.php')
-rw-r--r-- | system/helpers/array_helper.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/system/helpers/array_helper.php b/system/helpers/array_helper.php index 6b2415df2..075a31fdf 100644 --- a/system/helpers/array_helper.php +++ b/system/helpers/array_helper.php @@ -69,6 +69,7 @@ if ( ! function_exists('random_element')) { return $array; } + return $array[array_rand($array)]; } } |