If you preview an existing node, that is a book, the following error message occur:

warning: array_key_exists(): The second argument should be either an array or an object in /home/www/ldpt.org/httpdocs/sites/all/modules/BookMadeSimple/book_made_simple.module on line 405.

This does not happen on newly edited nodes in preview mode.

Comments

MarcElbichon’s picture

Status: Active » Closed (fixed)

Right.

Could you change the line 404 in the book_made_simple.module file :

            if (variable_get('book_made_simple_hide_default_add_child',true)) {

by

            if (($node->links) && variable_get('book_made_simple_hide_default_add_child',true)) {

or get the new version (2.1b) at http://code.google.com/p/mmr-drupal-modules/wiki/BookMadeSimple

scottrigby’s picture

Project: Book made simple (Obsolete) » Book made simple
Version: 6.x-2.1 » 6.x-3.4