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.
I have found a bug in page_title
module when calling token_get_values() function in hook_menu()
hook. that I describe in http://drupal.org/node/238490 issue.
For solve this bug we need a feature to get only 'taxonomy' token values, without global. Can you do new option for this in new version?
We can do this with add one comparison to if function in one string.
I attach a patch with this modifications.
Comment | File | Size | Author |
---|---|---|---|
#1 | token_add_ignore_global.patch | 575 bytes | Murz |
token_add_ignore_global.patch | 575 bytes | Murz | |
Comments
Comment #1
MurzSorry, bad patch. This patch is right.
Comment #2
gregglesLet's use #238490: Got "Access denied" when calling page_title_get_title() in hook_menu functions for discussion of this issue since it has more background on the problem.