diff options
author | alecpl <alec@alec.pl> | 2011-12-02 14:31:53 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-12-02 14:31:53 +0000 |
commit | 2a7bf36c733adf0702ad9a432cb98be1e86da1c1 (patch) | |
tree | 38b3c690603785b1e5f033738e4c75794730443f /program | |
parent | 8b8512fd98d2a5768f0a7f3285fa1b988f0ca851 (diff) |
- Fix compose from addressbook, broken in r5521
Diffstat (limited to 'program')
-rw-r--r-- | program/steps/mail/compose.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/program/steps/mail/compose.inc b/program/steps/mail/compose.inc index d98452afc..4d54db4b6 100644 --- a/program/steps/mail/compose.inc +++ b/program/steps/mail/compose.inc @@ -346,9 +346,9 @@ foreach ($parts as $header) { // we have a set of recipients stored is session 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; } else if (!empty($_POST['_'.$header])) { |