Once enabled the module, I get the following message error:

notice: Use of undefined constant BOOK_ACCESS_GRANT_PRIORITY - assumed 'BOOK_ACCESS_GRANT_PRIORITY' in /Library/WebServer/Documents/dr61/sites/all/modules/book_access/book_access.module on line 20.

That is because in the definition of a constant through define(), the first argument must be a literal string.

Comments

avpaderno’s picture

Status: Active » Fixed

The code has been changed, and committed in CVS.

Status: Fixed » Closed (fixed)

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

EliseVanLooij’s picture

Patch can be found at http://drupal.org/node/310298#comment-2398936 but still hasn't shown up in the latest version as of December 22nd, 2009.

avpaderno’s picture

@EliseVanLooij: The code is in the development snapshot.