Line 127 in book_made_simple.module:

if (book_access('create', $node) && $node->status == 1) {

Just curious why the && $node->status portion was included. It was preventing Book Made Simple from running when unpublished nodes were submitted. Removing the && statement allowed Book Made Simple to run on unpublished nodes (my desired behavior) without any apparent problems. Any reason to prevent this?

Thanks!

Comments

MarcElbichon’s picture

Assigned: Unassigned » MarcElbichon

You are right, this portion will be delete in the next release.

MarcElbichon’s picture

Status: Active » Closed (fixed)
MarcElbichon’s picture

closed issue

scottrigby’s picture

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