Reviewed & tested by the community
Project:
Referral Sources
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Apr 2011 at 21:58 UTC
Updated:
24 Feb 2012 at 15:29 UTC
Jump to comment: Most recent file
Comments
Comment #1
stennie commentedThere's a serious bug in the code that creates the 'grouped' select box ('flat' display appears OK).
It's using array_merge() to combine options, which has the documented side effect of renumbering numeric keys starting from 0. Essentially the IDs for grouped select will only match if you've never reordered or deleted sources :(.
Fix attached.
Cheers,
Stephen
Comment #2
stennie commentedIt's actually a critical bug, as invalid IDs defeat the purpose of the module.
Cheers,
Stephen
Comment #3
Offlein commentedBummer - this module is Abandoned. I reported it, but don't have the time to maintain it, myself. :(
Comment #4
izzysanime commentedI never got an email you replied, I think your patch fixed the issue. I will test it out for a few more days.
I really appreciate the fix.
Thanks,
Josh
Comment #5
dandaman commentedThanks. That fixed an issue for me! A very helpful patch that should be committed!