The following line in token_node.inc is redundant:

      $book_title = isset($trail[0]) ? $trail[0] : '';

The $book_title string isn't used throughout the rest of that function.

CommentFileSizeAuthor
#1 token-n957942.patch643 bytesdamienmckenna

Comments

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new643 bytes

Here you go, a tiny patch to remove that one line.

dave reid’s picture

Status: Needs review » Fixed

Confirmed. Fixed in CVS with http://drupal.org/cvs?commit=441988

Status: Fixed » Closed (fixed)

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