Closed (duplicate)
Project:
Referral Sources
Version:
6.x-1.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Mar 2011 at 17:25 UTC
Updated:
22 Sep 2011 at 11:29 UTC
I have 3 referral sources, and their RIDs are 1, 6, and 11.
In referralsources.module on line 371, there is an array_merge for adding the "Please Select One" text. I don't know what exactly is the reason for this, but when the arrays are merged the keys are reset to be sequential. So my sources become 0, 1, and 2. Hence the first one does nothing, the second one points to the first item, and the third one also does nothing.
On my own site, I am commenting out this line, and I think that does what I need. But this breaks the module otherwise. It seems like it must affect anyone with misordered RIDs?
Comments
Comment #1
stennie commentedDuplicate of : http://drupal.org/node/1124096
I've posted a patch on that issue.
Cheers,
Stephen