git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2421
7612ce4b-ef26-0410-bec9-
ea0150e637f0
header("Location: $location/search.php?where=" . urlencode($where) .
'&what=' . urlencode($what) . '&mailbox=' . urlencode($mailbox));
} else {
header("Location: $location/search.php?where=" . urlencode($where) .
'&what=' . urlencode($what) . '&mailbox=' . urlencode($mailbox));
} else {
- if ($compose_new_win == '1') {
+ if (!empty($saved_draft) || !empty($mail_sent)) {
header("Location: $location/compose.php?mail_sent=$mail_sent&saved_draft=$saved_draft");
}
else {
header("Location: $location/compose.php?mail_sent=$mail_sent&saved_draft=$saved_draft");
}
else {