Needs review
Project:
Better Select
Version:
6.x-1.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jun 2010 at 16:51 UTC
Updated:
2 Nov 2010 at 16:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
Mac Clemmens commentedBecause other modules can change $form_state['values']['taxonomy'], it is important to check that values are loaded as an array before trying to run a foreach() function.
Adding a check before proceeding is one way to solve the problem:
Patch attached applies to line ~223 of betterselect.module
Comment #2
Mac Clemmens commentedComment #3
prophet108 commentedThank you for posting this!