From c5ac073c9f48ce33960f66f5cc925bb452ae18b2 Mon Sep 17 00:00:00 2001 From: svncommit <devs@roundcube.net> Date: Thu, 18 May 2006 11:46:50 -0400 Subject: [PATCH] renamed $mbox so that it will stop interfering with the $_SESSION when register_globals is turned on --- program/steps/mail/sendmail.inc | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/program/steps/mail/sendmail.inc b/program/steps/mail/sendmail.inc index f8d3ada..65365ea 100644 --- a/program/steps/mail/sendmail.inc +++ b/program/steps/mail/sendmail.inc @@ -286,12 +286,12 @@ // check if mailbox exists if (!in_array_nocase($CONFIG['sent_mbox'], $IMAP->list_mailboxes())) - $mbox = $IMAP->create_mailbox($CONFIG['sent_mbox'], TRUE); + $sent_folder = $IMAP->create_mailbox($CONFIG['sent_mbox'], TRUE); else - $mbox = TRUE; + $sent_folder = TRUE; // append message to sent box - if ($mbox) + if ($sent_folder) $saved = $IMAP->save_message($CONFIG['sent_mbox'], $header_str."\r\n".$msg_body); // raise error if saving failed -- Gitblit v1.9.1