Quellcode durchsuchen

html output started before displayHtmlHeader is called (#1454409).
Patch by santyaga_ru at users.sourceforge.net

tokul vor 19 Jahren
Ursprung
Commit
89e84342fe
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      src/compose.php

+ 3 - 3
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)) {