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 |
Jump to:
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
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
The code has been fixed in branch 6.x-2 as well.
#3
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
Automatically closed -- issue fixed for 2 weeks with no activity.