[Tickets #4342] NEW: imap_search_query undefined

bugs@bugs.horde.org bugs at bugs.horde.org
Sat Aug 26 11:01:46 PDT 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=4342
-----------------------------------------------------------------------
 Ticket             | 4342
 Created By         | i.bin at dah.am
 Summary            | imap_search_query undefined
 Queue              | Ingo
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


i.bin at dah.am (2006-08-26 11:01) wrote:

In function perform at  lib/Script/imap.php on line 214 beginning in switch
clause at 142:
You forgot to include the IMAP lib from ingo required for the
imap_query_search.

Diff:
--- imap.php.old        2006-08-26 19:59:29.610543320 +0200
+++ imap.php    2006-08-26 19:34:26.297374520 +0200
@@ -211,6 +211,7 @@
             case INGO_STORAGE_ACTION_KEEP:
             case INGO_STORAGE_ACTION_MOVE:
             case INGO_STORAGE_ACTION_DISCARD:
+                require_once INGO_BASE . '/lib/IMAP/Search.php';
                 $query = &new IMAP_Search_Query();
                 foreach ($rule['conditions'] as $val) {
                     $ob = &new IMAP_Search_Query();

So this issue was resovled by that entry.
Rgds. Franz





More information about the bugs mailing list