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.
Rather than calling arg()
, the function should use its parameter.
The function is declared as nodewords_bypath_help($path, $arg)
, where $arg
is an array containing the same values arg()
would return; the difference is that to use $arg[1]
is faster than using arg(1)
, for example.
Comments
Comment #1
apadernoSee http://drupal.org/node/114774#hook-help.
Comment #2
apadernoThe same mistake is made in the development snapshot.
Comment #3
univate CreditAttribution: univate commentedcommitted fix.