From e65c8507c87666957f323a8154550bf8647e5173 Mon Sep 17 00:00:00 2001 From: mattphillips Date: Wed, 10 Jan 2001 21:23:22 +0000 Subject: [PATCH] Patch contained in "[ Bug #128309 ] m$ exchange bug workaround". Exchange was erroniously reporting an error. This patch ignores it. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@925 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/imap_general.php | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/functions/imap_general.php b/functions/imap_general.php index e290f6f3..d0e19630 100755 --- a/functions/imap_general.php +++ b/functions/imap_general.php @@ -30,13 +30,16 @@ if ($handle_errors == true) { if ($response == "NO") { - set_up_language($squirrelmail_language); - echo "
\n"; - echo _("ERROR : Could not complete request."); - echo "
\n"; - echo _("Reason Given: "); - echo $message . "

\n"; - exit; + // ignore this error from m$ exchange, it is not fatal (aka bug) + if (!ereg("command resulted in",$message)) { + set_up_language($squirrelmail_language); + echo "
\n"; + echo _("ERROR : Could not complete request."); + echo "
\n"; + echo _("Reason Given: "); + echo $message . "

\n"; + exit; + } } else if ($response == "BAD") { set_up_language($squirrelmail_language); echo "
\n"; -- 2.25.1