Internet Search

Book made simple

error: Undefined index: depth in book_made_simple_link() (line 515
Add additional code as below:
folder: /sites/all/modules/book_made_simple/book_made_simple.module

original:

function book_made_simple_link($type, $node = null, $teaser = false) {
  $links = array();

change to:

function book_made_simple_link($type, $node = null, $teaser = false) {
  $links = array();
  if (isset($node->in_preview)) return $links;

source: https://www.drupal.org/node/1810806