From 6a6a14d73762034db17540f1adef27748382998c Mon Sep 17 00:00:00 2001 From: alec Date: Fri, 2 Dec 2011 14:56:17 +0000 Subject: - Add $_SESSION['mailto'] variable cleanup git-svn-id: https://svn.roundcube.net/trunk@5531 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/mail/compose.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roundcubemail/program/steps/mail/compose.inc b/roundcubemail/program/steps/mail/compose.inc index 4d54db4b6..7eaad2573 100644 --- a/roundcubemail/program/steps/mail/compose.inc +++ b/roundcubemail/program/steps/mail/compose.inc @@ -350,6 +350,10 @@ foreach ($parts as $header) { ) { $fvalue = urldecode($_SESSION['mailto'][$mailto_id]); $decode_header = false; + + // make session to not grow up too much + unset($_SESSION['mailto'][$mailto_id]); + $COMPOSE['param']['to'] = $fvalue; } else if (!empty($_POST['_'.$header])) { $fvalue = get_input_value('_'.$header, RCUBE_INPUT_POST, TRUE); -- cgit v1.2.3