[drupal-devel] [bug] admin/node/book produces a blank page

Dries drupal-devel at drupal.org
Sun May 1 16:03:06 UTC 2005


Issue status update for http://drupal.org/node/21441

 Project:      Drupal
 Version:      cvs
 Component:    book.module
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  moshe weitzman
 Updated by:   Dries
 Status:       patch

Note that you have to wrap strings in t().


How about removing the books from the navigation menu, and returning an
itemized list of books?




Dries



Previous comments:
------------------------------------------------------------------------

April 27, 2005 - 21:20 : moshe weitzman

probably a result of the recent patch where we return content instead of
print.




------------------------------------------------------------------------

April 29, 2005 - 02:41 : puregin

Attachment: http://drupal.org/files/issues/book.module_blank_admin_page.patch (488 bytes)

The function book_admin_view() does not return a non-empty string if
$nid is zero, which is the default value if /admin/node/book is
visited.  


The attached patch returns 'No book selected.'.  There's probably a
better way to do this.







More information about the drupal-devel mailing list