Bug #3735
randomizeArrayOrder() does not randomize...
Status: | Resolved | Start date: | 2009-06-23 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | Utility | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 alpha 2 | |||
PHP Version: | Complexity: | |||
Has patch: | Affected Flow version: |
Description
randomizeArrayOrder() (added with r114) uses array_rand(), which does not randomize if as many "random" keys are requested as the source array contains. So, it's broken plus it is useless - use shuffle() instead.
Related issues
Associated revisions
History
#1 Updated by Karsten Dambekalns about 6 years ago
- Status changed from Accepted to Resolved
- % Done changed from 0 to 100
Applied in changeset r2639.