Active
Project:
Advanced Book Blocks
Version:
6.x-2.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2010 at 12:19 UTC
Updated:
8 Oct 2010 at 05:01 UTC
I found that the following error is displayed when attempting to rename the top node of a book if the book had no taxonomy terms associated with it.
warning: array_intersect() [function.array-intersect]: Argument #1 is not an array in .../sites/all/modules/advancedbookblocks/advancedbookblocks.module on line 563.
Initializing an empty array seems to have solved the problem for me.
550a551
> $node_terms = array();
Kurrt
Comments
Comment #1
idcm commentedKurrt, I am not used to the 550a551 notation. I assume it means where to insert. Would you mind confirming that I have the correct insert location. This line: if (!empty($customized_blocks)) { is now line 552.
thanks
Comment #2
idcm commentedI inserted what Kurt suggested and so far so good.
c
Comment #3
yarrait commentedHello,
I also had same issue .. above trick of initializing array worked fine for me.
Thanks