When I use the Print module to generate a printer-friendly version of a BookMadeSimple page, I see the following error messages:

Notice: Undefined index: links in book_made_simple_node_view_alter() (line 744 of ...sites/all/modules/BookMadeSimple/book_made_simple.module).

Warning: array_key_exists() expects parameter 2 to be array, null given in book_made_simple_node_view_alter() (line 744 of ...sites/all/modules/BookMadeSimple/book_made_simple.module).

Notice: Undefined index: links in book_made_simple_node_view_alter() (line 748 of ...sites/all/modules/BookMadeSimple/book_made_simple.module).

Warning: array_key_exists() expects parameter 2 to be array, null given in book_made_simple_node_view_alter() (line 748 of ...sites/all/modules/BookMadeSimple/book_made_simple.module).

Comments

paulmckibben’s picture

Status: Active » Fixed

I was going to create a patch, but when I pulled the latest from the 7.x-3.x branch in git, the fix was already there! Thank you!

MarcElbichon’s picture

Status: Fixed » Closed (fixed)
scottrigby’s picture

Project: Book made simple (Obsolete) » Book made simple
Version: 7.x-3.5 » 7.x-3.x-dev