From: cigamit Date: Wed, 18 Aug 2004 03:36:41 +0000 (+0000) Subject: Small fix for users that get "Spurious argument" on every search query X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=17a7913a1ddc3de86a0e6e2fe603e60255b56f9d Small fix for users that get "Spurious argument" on every search query 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 --- diff --git a/functions/imap_asearch.php b/functions/imap_asearch.php index 98f2407b..a1238c37 100644 --- a/functions/imap_asearch.php +++ b/functions/imap_asearch.php @@ -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( /* => 'asequence', */ // Special handling, @see sqimap_asearch_build_criteria() /*'ALL' is binary operator */