Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | token-n957942.patch | 643 bytes | DamienMcKenna |
Comments
Comment #1
DamienMcKennaHere you go, a tiny patch to remove that one line.
Comment #2
Dave ReidConfirmed. Fixed in CVS with http://drupal.org/cvs?commit=441988