Small fix for users that get "Spurious argument" on every search query
authorcigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 18 Aug 2004 03:36:41 +0000 (03:36 +0000)
committercigamit <cigamit@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Wed, 18 Aug 2004 03:36:41 +0000 (03:36 +0000)
Not sure if this is just my installation, but it definitely doesn't want to work without this being declared global

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@7930 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/imap_asearch.php

index 98f2407b22887316432a202e977863ddd7aefe63..a1238c37db0056222126a89737f88af2107eb13f 100644 (file)
@@ -31,6 +31,7 @@ $imap_asearch_debug_dump = FALSE;
 /** Imap SEARCH keys
 * @global array $imap_asearch_opcodes
 */
+global $imap_asearch_opcodes;
 $imap_asearch_opcodes = array(
 /* <sequence-set> => 'asequence', */   // Special handling, @see sqimap_asearch_build_criteria()
 /*'ALL' is binary operator */