[imp] Search.php changed -- breaks filter on Spam Header

Dan Wilson dan at acucore.com
Thu Feb 13 13:49:28 PST 2003


Nope... but this appears to fix it:

[dan at kamino dev_horde]$ cvs diff imp/lib/Search.php 
Index: imp/lib/Search.php
===================================================================
RCS file: /repository/imp/lib/Search.php,v
retrieving revision 1.20
diff -r1.20 Search.php
278c278
<         if (!isset($headers[$mailbox])) {
---
>         if (!isset($headers[$mbox])) {
288c288
<         foreach ($result as $index) {
---
>         foreach ($result[$mbox] as $index) {


-Dan

> Date: Thu, 13 Feb 2003 11:43:05 -0700
> From: Michael M Slusarz <slusarz at bigworm.colorado.edu>
> Subject: Re: [imp] Search.php changed -- breaks filter on Spam Header
> To: imp at lists.horde.org
> 
> Quoting Dan Wilson <dan at acucore.com>:
> 
> | Since the change to imp/lib/Search.php on 11 Feb, my filter for the
> | X-Spam-
> | Status header is broken.  All other filters still work fine.
> |
> | I went in and looked around... it looks like there is a variable that is
> | $mailbox and it should be $mbox, but there is an additional problem with
> | the
> | Illegal offset on line 289.  I'm not sure how to fix that one.
> 
> See if the fix in HEAD solves this problem.
> 
> michael
> 
> ______________________________________________
> Michael Slusarz [slusarz at bigworm.colorado.edu]
> The University of Colorado at Boulder



More information about the imp mailing list