Small fix for users that get "Spurious argument" on every search query
[squirrelmail.git] / 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 */