Closed (fixed)
Project:
Smackdown
Version:
5.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
4 Dec 2007 at 19:18 UTC
Updated:
20 Dec 2007 at 20:12 UTC
Voting pages don't show up with the current logic, given that the output of array_rand() is used improperly. See http://ca.php.net/manual/en/function.array-rand.php for details.
If you are picking only one entry, array_rand() returns the key for a random entry.
Here's a patch. Please test!
| Comment | File | Size | Author |
|---|---|---|---|
| smackdown.patch | 476 bytes | colan |
Comments
Comment #1
colanComment #2
sirkitree commentedTested. Thanks!
Comment #3
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.