Missing argument 2 for _customfilter_get_rules()

Crashtest - July 14, 2009 - 14:33
Project:Custom filter
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Issue tags:6.x-1.0-beta6, 6.x-2.0-beta2
Description

In line _customfilter_get_rules() is called only with one argument. But in line 398 it is defined with 3 Arguments (one is optional).

#1

kiamlaluno - July 14, 2009 - 22:18
Status:active» fixed

The error is in the declaration of the function parameters list, which should have two optional parameters.

The code has been changed, and committed in CVS. Thanks for your report.

#2

kiamlaluno - July 14, 2009 - 22:23
Version:6.x-1.x-dev» 6.x-2.x-dev
Issue tags:+6.x-2.0-beta2

The code has been fixed in branch 6.x-2 as well.

#3

jonskulski - July 16, 2009 - 16:48

I wanted to stick with the current release and just fix this bug, so here is the CVS commit that fixes this issue

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/customfilte...

and the assocaited patch

http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/customfilte...

THanks for a great module!

#4

System Message - July 30, 2009 - 16:50
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.