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

apaderno’s picture

apaderno’s picture

Version: 6.x-1.0 » 6.x-1.x-dev

The same mistake is made in the development snapshot.

univate’s picture

Status: Active » Fixed

committed fix.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.