- Fix compose from addressbook, broken in r5521

pull/1/head
alecpl 13 years ago
parent 8b8512fd98
commit 2a7bf36c73

@ -346,9 +346,9 @@ foreach ($parts as $header) {
// we have a set of recipients stored is session // we have a set of recipients stored is session
if ($header == 'to' && ($mailto_id = $COMPOSE['param']['mailto']) if ($header == 'to' && ($mailto_id = $COMPOSE['param']['mailto'])
&& $COMPOSE[$mailto_id] && $_SESSION['mailto'][$mailto_id]
) { ) {
$fvalue = urldecode($COMPOSE[$mailto_id]); $fvalue = urldecode($_SESSION['mailto'][$mailto_id]);
$decode_header = false; $decode_header = false;
} }
else if (!empty($_POST['_'.$header])) { else if (!empty($_POST['_'.$header])) {

Loading…
Cancel
Save