# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- HEAD
+++ Modified In Working Tree
@@ -477,9 +477,12 @@
   }
   while ($book = db_fetch_object($result)) {
     if (!in_array($book->bid, $books)) {
+      $allowed = module_invoke_all('show_book', $book->bid);
+      if ( in_array(TRUE, $allowed) ) {
       $books[] = $book->bid;
     }
   }
+  }
\ No newline at end of file
   return $books;
 }
