Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 297281

Summary: Marketplace warning: array_rand() in sites/all/themes/nova/template.php
Product: Community Reporter: David Green <greensopinion>
Component: WebsiteAssignee: phoenix.ui <phoenix.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: nathan
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description David Green CLA 2009-12-08 18:23:06 EST
An error was displayed:

bq. 
warning: array_rand() [function.array-rand]: Second argument has to be between 1 and the number of elements in the array in /localsite/marketplace.eclipse.org/sites/all/themes/nova/template.php on line 146.

The error appears to be intermittent.
Comment 1 Nathan Gervais CLA 2009-12-09 09:16:05 EST
Thanks for the report.  I've fixed the code in question.