_book_access_get_book_nid() has the following code:

function _book_access_get_book_nid($nid) {
  $result = db_query("SELECT bid FROM {book} WHERE nid = %d", $nid);
  return db_fetch_object($result)->bid;
}

As db_fetch_object() can return FALSE, the return line tries to access a property for a value that is not an object.

Comments

harry slaughter’s picture

Assigned: Unassigned » harry slaughter
harry slaughter’s picture

Status: Active » Fixed

This code has been removed entirely

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.