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
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
643 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.