diff options
| author | cmcnulty <cmcnulty@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-05-18 15:46:50 +0000 |
|---|---|---|
| committer | cmcnulty <cmcnulty@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2006-05-18 15:46:50 +0000 |
| commit | 124b7c5e18bdd78c294ad81aef3d1514f5b71ad4 (patch) | |
| tree | 96097666ec7b1551b6b1dc7d7b265afaad383209 /roundcubemail/program/steps/mail/sendmail.inc | |
| parent | 4472946d0b37117dac609cbe774c9f90c2299550 (diff) | |
renamed $mbox so that it will stop interfering with the $_SESSION when register_globals is turned on
git-svn-id: https://svn.roundcube.net/trunk@232 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/mail/sendmail.inc')
| -rw-r--r-- | roundcubemail/program/steps/mail/sendmail.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roundcubemail/program/steps/mail/sendmail.inc b/roundcubemail/program/steps/mail/sendmail.inc index f8d3ada4f..65365ea7a 100644 --- a/roundcubemail/program/steps/mail/sendmail.inc +++ b/roundcubemail/program/steps/mail/sendmail.inc @@ -286,12 +286,12 @@ if ($CONFIG['sent_mbox']) // 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 |
