Array error bug?
Macarro - October 12, 2009 - 22:26
| Project: | Big Autocomplete TAXonomy |
| Version: | 5.x-1.3 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | won't fix |
Jump to:
Description
Hi.
I know 5.x branch is abandoned, but I would like to understand a little bit more the module to see if I can fix this bug myself. After installing the module it seems to work ok, and it also does with multiselect taxonomys. The only error I'm getting is that everytime I create a new node I get this error:
warning: array_intersect() [function.array-intersect]: Argument #1 is not an array in /home/xxx/www/sites/all/modules/batax/batax.module on line 122.
Any idea about how to solve this?
Kind regards and thanks in advance.

#1
It's a warning, so can be ignored if you want. If you really want to fix it, I'd add a check on line 121 which ensures that $array['parent-old'] isset, and is_array.