The file modules/book/book-all-books-block.tpl.php has the comment:

// * @see template_preprocess_book_all_books_block()

however no such function exists. I am not sure which function is intended.

The bug exists in D7 and D6.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

beginner’s picture

Issue tags: +Novice
JamesAn’s picture

Status: Active » Needs review
FileSize
735 bytes
736 bytes

I'm not sure what that's for either. Here's the D7 and D6 patches to remove that line. Does it need to refer to something else?

mr.baileys’s picture

The @see-line was introduced in #160200: tplify book module without the matching template_ function, probably the result of some copy/paste/renaming. I don't think there ever was a function called template_preprocess_book_all_books_block and agree that removing this line is the right approach.

D7 patch is RTBC. Is the D6 patch supposed to be named D5?

JamesAn’s picture

FileSize
735 bytes

Oh, sorry. "jamesan_369587-2-D5.patch" is supposed to be "jamesan_369587-2-D6.patch". My mistake.

To prevent further confusion, I've uploaded the renamed patch.

mr.baileys’s picture

Status: Needs review » Reviewed & tested by the community

Testbot is happy too.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks!

Status: Fixed » Closed (fixed)
Issue tags: -Novice

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