Summary | Problem with creating multiple conditions in filter rules |
Queue | Ingo |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | chuck (at) horde (dot) org |
Requester | jpstewart (at) tntmax (dot) com |
Created | 11/03/2006 (6842 days ago) |
Due | |
Updated | 03/21/2007 (6704 days ago) |
Assigned | 11/12/2006 (6833 days ago) |
Resolved | 02/01/2007 (6752 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
as
http://cvs.horde.org/diff.php?r1=1.49.10.11&r2=1.49.10.12&f=ingo%2Flib%2FScript%2Fimap.php shows it has only been fixed on line 167 not on line 223 as
well.
however line 223 has to be fixed on our setup as well as otherwise the
filters work only partially.
we are on all latest official stable releases and are using php 5.1.6
Assigned to Chuck Hagenbuch
Taken from Michael Slusarz
State ⇒ Resolved
$search_array[] = &$ob;
With PHP 4.x $search_array contains n identical entries (if there are
n conditions in the filter rule) after the loop.
Changing the two lines (line 167 and 223) to
$search_array[] = $ob;
should do the job.
filter fails to execute. If I create a filter with only one condition
it executes correctly. I have not tried multiple "and" conditions.
I am using the "Null" driver in the IMAP backend (first backend
listed in backends.php). I use the preferences backend to store the
rules.
I had the same problem, too
State ⇒ Assigned
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Problem with creating multiple conditions in filter rules
Queue ⇒ Ingo
State ⇒ Unconfirmed
filter fails to execute. If I create a filter with only one condition
it executes correctly. I have not tried multiple "and" conditions.
I am using the "Null" driver in the IMAP backend (first backend listed
in backends.php). I use the preferences backend to store the rules.