nodewords_bypath_help() doesn't use its parameter
kiamlaluno - May 7, 2009 - 17:47
| Project: | Meta Tags by Path |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
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.

#1
See http://drupal.org/node/114774#hook-help.
#2
The same mistake is made in the development snapshot.
#3
committed fix.
#4
Automatically closed -- issue fixed for 2 weeks with no activity.