Closed (fixed)
Project:
Nodewords by Path
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 May 2009 at 17:47 UTC
Updated:
5 Jun 2009 at 15:00 UTC
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
avpadernoSee http://drupal.org/node/114774#hook-help.
Comment #2
avpadernoThe same mistake is made in the development snapshot.
Comment #3
univate commentedcommitted fix.