From ad775a2cea37096cf0013012eba6fb3032c3debf Mon Sep 17 00:00:00 2001 From: fidian Date: Fri, 2 Feb 2001 16:04:00 +0000 Subject: [PATCH] Added comments saying where the workaround is. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@1040 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- src/compose.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/compose.php b/src/compose.php index c564fcfe..904ad0d9 100644 --- a/src/compose.php +++ b/src/compose.php @@ -389,6 +389,8 @@ } } + // Workaround for RedHat PHP 4.0.4pl1-3 + // Also for Konq problems? if (isset($mailbox)) $mailbox = trim($mailbox); if (isset($send_to)) $send_to = trim($send_to); if (isset($send_to_cc)) $send_to_cc = trim($send_to_cc); @@ -396,7 +398,8 @@ if (isset($subject)) $subject = trim($subject); if (isset($body)) $body = trim($body); if (isset($attachfile)) $attachfile = trim($attachfile); - + // End of workaround + if (!isset($mailbox) || $mailbox == "" || ($mailbox == "None")) $mailbox = "INBOX"; -- 2.25.1