From: tokul Date: Tue, 21 Mar 2006 19:21:52 +0000 (+0000) Subject: html output started before displayHtmlHeader is called (#1454409). X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5a3e52f3e41de2dc5dc4694b6c845ba0b74612dc;p=squirrelmail.git html output started before displayHtmlHeader is called (#1454409). Patch by santyaga_ru at users.sourceforge.net git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11000 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/src/compose.php b/src/compose.php index bae2c477..aa578d89 100644 --- a/src/compose.php +++ b/src/compose.php @@ -578,14 +578,14 @@ if ($send) { */ include_once('./addrbook_search_html.php'); } elseif (isset($attach)) { - if (saveAttachedFiles($session)) { - plain_error_message(_("Could not move/copy file. File not attached"), $color); - } if ($compose_new_win == '1') { compose_Header($color, $mailbox); } else { displayPageHeader($color, $mailbox); } + if (saveAttachedFiles($session)) { + plain_error_message(_("Could not move/copy file. File not attached"), $color); + } showInputForm($session); } elseif (isset($sigappend)) {