Closed (fixed)
Project:
Custom filter
Version:
6.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jul 2008 at 21:33 UTC
Updated:
3 Jul 2009 at 22:30 UTC
The attached patch fixes two PHP notices, showing up for example when visiting the admin page admin/settings/filters/customfilter when no filters are defined.
| Comment | File | Size | Author |
|---|---|---|---|
| customfilter.patch | 1.18 KB | gustav |
Comments
Comment #1
avpadernoI tried it, and it works.
Comment #2
avpadernoThis will be one of the first commits I will make.
Comment #3
avpadernoI adapted the patch to the code how it is after my previous commits, and I used
elseif (!empty($rule['function'])) {instead ofelseif (isset($rule['function']) && $rule['function']) {.Thanks for the report.