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
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

kiamlaluno - May 7, 2009 - 17:49

#2

kiamlaluno - May 7, 2009 - 17:52
Version:6.x-1.0» 6.x-1.x-dev

The same mistake is made in the development snapshot.

#3

univate - May 22, 2009 - 14:54
Status:active» fixed

committed fix.

#4

System Message - June 5, 2009 - 15:00
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.