? no_books_available.patch
? sites/all/files
? sites/all/modules/admin_menu
? sites/default/files
? sites/default/settings.php
Index: modules/book/book.admin.inc
===================================================================
RCS file: /cvs/drupal/drupal/modules/book/book.admin.inc,v
retrieving revision 1.17
diff -u -p -r1.17 book.admin.inc
--- modules/book/book.admin.inc	11 Jan 2009 21:19:17 -0000	1.17
+++ modules/book/book.admin.inc	5 Feb 2009 05:13:45 -0000
@@ -11,10 +11,18 @@
  */
 function book_admin_overview() {
   $rows = array();
+
+  $headers = array(t('Book'), t('Operations'));
+
+  // Add any recognized books to the table list.
   foreach (book_get_books() as $book) {
-    $rows[] = array(l($book['title'], $book['href'], $book['options']), l(t('edit order and titles'), "admin/content/book/" . $book['nid']));
+    $rows[] = array(l($book['title'], $book['href'], $book['options']), l(t('edit order and titles'), 'admin/content/book/' . $book['nid']));
+  }
+
+  // If no books were found, let the user know.
+  if (empty($rows)) {
+    $rows[] = array(array('data' => t('No books available.'), 'colspan' => 2));
   }
-  $headers = array(t('Book'), t('Operations'));
 
   return theme('table', $headers, $rows);
 }
