6.0.0-beta1
11/8/25

[#4342] imap_search_query undefined
Summary imap_search_query undefined
Queue Ingo
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners
Requester i.bin (at) dah (dot) am
Created 08/26/2006 (7014 days ago)
Due 08/26/2006 (7014 days ago)
Updated 08/27/2006 (7013 days ago)
Assigned
Resolved 08/27/2006 (7013 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
08/27/2006 08:08:46 PM Michael Slusarz Comment #2
State ⇒ Resolved
Reply to this comment
Fixed in HEAD and 1.1.2.
08/26/2006 06:01:46 PM i (dot) bin (at) dah (dot) am Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ imap_search_query undefined
Due ⇒ 08/26/2006
Queue ⇒ Ingo
Reply to this comment
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


Saved Queries